/* prebid.js v6.13.0
Updated : 2022-03-03*/
!function(e){var t=window.tmzrChunk;window.tmzrChunk=function(n,o,a){for(var c,u,s,d=0,f=[];d<n.length;d++)u=n[d],r[u]&&f.push(r[u][0]),r[u]=0;for(c in o)Object.prototype.hasOwnProperty.call(o,c)&&(e[c]=o[c]);for(t&&t(n,o,a);f.length;)f.shift()();if(a)for(d=0;d<a.length;d++)s=i(i.s=a[d]);return s};var n={},r={411:0};function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.m=e,i.c=n,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i.oe=function(e){throw console.error(e),e},i(i.s=1017)}({0:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"internal",(function(){return C})),t.getPrebidInternal=function(){return R},n.d(t,"bind",(function(){return U})),t.getUniqueIdentifierStr=D,t.generateUUID=function e(t){return t?(t^(window&&window.crypto&&window.crypto.getRandomValues?crypto.getRandomValues(new Uint8Array(1))[0]%16:16*Math.random())>>t/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e)},t.getBidIdParameter=function(e,t){if(t&&t[e])return t[e];return""},t.tryAppendQueryString=function(e,t,n){if(n)return e+t+"="+encodeURIComponent(n)+"&";return e},t.parseQueryStringParameters=function(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t+=n+"="+encodeURIComponent(e[n])+"&");return t=t.replace(/&$/,"")},t.transformAdServerTargetingObj=function(e){return e&&Object.getOwnPropertyNames(e).length>0?se(e).map((function(t){return"".concat(t,"=").concat(encodeURIComponent(de(e,t)))})).join("&"):""},t.getAdUnitSizes=function(e){if(!e)return;var t=[];if(e.mediaTypes&&e.mediaTypes.banner&&Array.isArray(e.mediaTypes.banner.sizes)){var n=e.mediaTypes.banner.sizes;Array.isArray(n[0])?t=n:t.push(n)}else Array.isArray(e.sizes)&&(Array.isArray(e.sizes[0])?t=e.sizes:t.push(e.sizes));return t},t.parseSizesInput=function(e){var t=[];if("string"==typeof e){var n=e.split(","),r=/^(\d)+x(\d)+$/i;if(n)for(var i in n)ee(n,i)&&n[i].match(r)&&t.push(n[i])}else if("object"===y(e)){var o=e.length;if(o>0)if(2===o&&"number"==typeof e[0]&&"number"==typeof e[1])t.push(k(e));else for(var a=0;a<o;a++)t.push(k(e[a]))}return t},t.parseGPTSingleSizeArray=k,t.parseGPTSingleSizeArrayToRtbSize=function(e){if(N(e))return{w:e[0],h:e[1]}},t.getWindowTop=P,t.getWindowSelf=q,t.getWindowLocation=M,t.logMessage=G,t.logInfo=z,t.logWarn=L,t.logError=F,t.prefixLog=function(e){function t(t){return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.apply(void 0,[e].concat(r))}}return{logError:t(F),logWarn:t(L),logMessage:t(G),logInfo:t(z)}},t.hasConsoleLogger=function(){return S},t.debugTurnedOn=V,t.createInvisibleIframe=function(){var e=document.createElement("iframe");return e.id=D(),e.height=0,e.width=0,e.border="0px",e.hspace="0",e.vspace="0",e.marginWidth="0",e.marginHeight="0",e.style.border="0",e.scrolling="no",e.frameBorder="0",e.src="about:blank",e.style.display="none",e},t.getParameterByName=function(e){return Ee(M().search)[e]||""},t.isA=H,t.isFn=K,t.isStr=Y,t.isArray=J,t.isNumber=Q,t.isPlainObject=$,t.isBoolean=function(e){return H(e,"Boolean")},t.isEmpty=X,t.isEmptyStr=function(e){return Y(e)&&(!e||0===e.length)},t._each=Z,t.contains=function(e,t){if(X(e))return!1;if(K(e.indexOf))return-1!==e.indexOf(t);var n=e.length;for(;n--;)if(e[n]===t)return!0;return!1},t._map=function(e,t){if(X(e))return[];if(K(e.map))return e.map(t);var n=[];return Z(e,(function(r,i){n.push(t(r,i,e))})),n},t.hasOwn=ee,t.insertElement=te,t.waitForElementToLoad=ne,t.triggerPixel=re,t.callBurl=function(e){var t=e.source,n=e.burl;t===O.S2S.SRC&&n&&C.triggerPixel(n)},t.insertHtmlIntoIframe=function(e){if(!e)return;var t=document.createElement("iframe");t.id=D(),t.width=0,t.height=0,t.hspace="0",t.vspace="0",t.marginWidth="0",t.marginHeight="0",t.style.display="none",t.style.height="0px",t.style.width="0px",t.scrolling="no",t.frameBorder="0",t.allowtransparency="true",C.insertElement(t,document,"body"),t.contentWindow.document.open(),t.contentWindow.document.write(e),t.contentWindow.document.close()},t.insertUserSyncIframe=ie,t.createTrackPixelHtml=function(e){if(!e)return"";var t=encodeURI(e),n='<div style="position:absolute;left:0px;top:0px;visibility:hidden;">';return n+='<img src="'+t+'"></div>'},t.createTrackPixelIframeHtml=oe,t.getValueString=ae,t.uniques=ce,t.flatten=ue,t.getBidRequest=function(e,t){if(!e)return;var n;return t.some((function(t){var r=c()(t.bids,(function(t){return["bidId","adId","bid_id"].some((function(n){return t[n]===e}))}));return r&&(n=r),r})),n},t.getKeys=se,t.getValue=de,t.getKeyByValue=function(e,t){for(var n in e)if(e.hasOwnProperty(n)&&e[n]===t)return n},t.getBidderCodes=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tmzr.adUnits;return e.map((function(e){return e.bids.map((function(e){return e.bidder})).reduce(ue,[])})).reduce(ue).filter(ce)},t.isGptPubadsDefined=fe,t.isApnGetTagDefined=function(){if(window.apntag&&K(window.apntag.getTag))return!0},n.d(t,"getHighestCpm",(function(){return le})),n.d(t,"getOldestHighestCpmBid",(function(){return pe})),n.d(t,"getLatestHighestCpmBid",(function(){return ge})),t.shuffle=function(e){var t=e.length;for(;t>0;){var n=Math.floor(Math.random()*t);t--;var r=e[t];e[t]=e[n],e[n]=r}return e},t.adUnitsFilter=function(e,t){return s()(e,t&&t.adUnitCode)},t.deepClone=ve,t.inIframe=function(){try{return C.getWindowSelf()!==C.getWindowTop()}catch(e){return!0}},t.isSafariBrowser=function(){return/^((?!chrome|android|crios|fxios).)*safari/i.test(navigator.userAgent)},t.replaceAuctionPrice=function(e,t){if(!e)return;return e.replace(/\$\{AUCTION_PRICE\}/g,t)},t.replaceClickThrough=function(e,t){if(!e||!t||"string"!=typeof t)return;return e.replace(/\${CLICKTHROUGH}/g,t)},t.timestamp=function(){return(new Date).getTime()},t.getPerformanceNow=function(){return window.performance&&window.performance.now&&window.performance.now()||0},t.hasDeviceAccess=function(){return!1!==r.b.getConfig("deviceAccess")},t.checkCookieSupport=he,t.delayExecution=function(e,t){if(t<1)throw new Error("numRequiredCalls must be a positive number. Got ".concat(t));var n=0;return function(){++n===t&&e.apply(this,arguments)}},t.groupBy=function(e,t){return e.reduce((function(e,n){return(e[n[t]]=e[n[t]]||[]).push(n),e}),{})},t.getDefinedParams=function(e,t){return t.filter((function(t){return e[t]})).reduce((function(t,n){return h(t,v({},n,e[n]))}),{})},t.isValidMediaTypes=function(e){var t=["banner","native","video"];if(!Object.keys(e).every((function(e){return s()(t,e)})))return!1;if(e.video&&e.video.context)return s()(["instream","outstream","adpod"],e.video.context);return!0},t.getUserConfiguredParams=function(e,t,n){return e.filter((function(e){return e.code===t})).map((function(e){return e.bids})).reduce(ue,[]).filter((function(e){return e.bidder===n})).map((function(e){return e.params||{}}))},t.getOrigin=function(){return window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")},t.getDNT=function(){return"1"===navigator.doNotTrack||"1"===window.doNotTrack||"1"===navigator.msDoNotTrack||"yes"===navigator.doNotTrack},t.isAdUnitCodeMatchingSlot=function(e){return function(t){return ye(e,t)}},t.isSlotMatchingAdUnitCode=me,t.getGptSlotInfoForAdUnitCode=function(e){var t;fe()&&(t=c()(window.googletag.pubads().getSlots(),me(e)));if(t)return{gptSlot:t.getAdUnitPath(),divId:t.getSlotElementId()};return{}},t.unsupportedBidderMessage=function(e,t){var n=Object.keys(e.mediaTypes||{banner:"banner"}).join(", ");return"\n    ".concat(e.code," is a ").concat(n," ad unit\n    containing bidders that don't support ").concat(n,": ").concat(t,".\n    This bidder won't fetch demand.\n  ")},t.isInteger=Oe,t.convertCamelToUnderscore=function(e){return e.replace(/(?:^|\.?)([A-Z])/g,(function(e,t){return"_"+t.toLowerCase()})).replace(/^_/,"")},t.cleanObj=function(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})},t.pick=function(e,t){if("object"!==y(e))return{};return t.reduce((function(n,r,i){if("function"==typeof r)return n;var o=r,a=r.match(/^(.+?)\sas\s(.+?)$/i);a&&(r=a[1],o=a[2]);var c=e[r];return"function"==typeof t[i+1]&&(c=t[i+1](c,n)),void 0!==c&&(n[o]=c),n}),{})},t.transformBidderParamKeywords=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"keywords",n=[];return Z(e,(function(e,r){if(J(e)){var i=[];Z(e,(function(e){((e=ae(t+"."+r,e))||""===e)&&i.push(e)})),e=i}else{if(!Y(e=ae(t+"."+r,e)))return;e=[e]}n.push({key:r,value:e})})),n},t.convertTypes=function(e,t){return Object.keys(e).forEach((function(n){var r,i;t[n]&&(K(e[n])?t[n]=e[n](t[n]):t[n]=(r=e[n],i=t[n],"string"===r?i&&i.toString():"number"===r?Number(i):i),isNaN(t[n])&&delete t.key)})),t},t.isArrayOfNums=function(e,t){return J(e)&&(!t||e.length===t)&&e.every((function(e){return Oe(e)}))},t.fill=function(e,t){for(var n=[],r=0;r<t;r++){var i=$(e)?ve(e):e;n.push(i)}return n},t.chunk=function(e,t){for(var n=[],r=0;r<Math.ceil(e.length/t);r++){var i=r*t,o=i+t;n.push(e.slice(i,o))}return n},t.getMinValueFromArray=function(e){return Math.min.apply(Math,p(e))},t.getMaxValueFromArray=function(e){return Math.max.apply(Math,p(e))},t.compareOn=function(e){return function(t,n){return t[e]<n[e]?1:t[e]>n[e]?-1:0}},t.parseQS=Ee,t.formatQS=je,t.parseUrl=function(e,t){var n=document.createElement("a");t&&"noDecodeWholeURL"in t&&t.noDecodeWholeURL?n.href=e:n.href=decodeURIComponent(e);var r=t&&"decodeSearchAsString"in t&&t.decodeSearchAsString;return{href:n.href,protocol:(n.protocol||"").replace(/:$/,""),hostname:n.hostname,port:+n.port,pathname:n.pathname.replace(/^(?!\/)/,"/"),search:r?n.search:C.parseQS(n.search||""),hash:(n.hash||"").replace(/^#/,""),host:n.host||window.location.host}},t.buildUrl=function(e){return(e.protocol||"http")+"://"+(e.host||e.hostname+(e.port?":".concat(e.port):""))+(e.pathname||"")+(e.search?"?".concat(C.formatQS(e.search||"")):"")+(e.hash?"#".concat(e.hash):"")},t.deepEqual=Se,t.mergeDeep=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];if(!r.length)return t;var o=r.shift();if($(t)&&$(o)){var a=function(n){$(o[n])?(t[n]||h(t,v({},n,{})),e(t[n],o[n])):J(o[n])?t[n]?J(t[n])&&o[n].forEach((function(e){for(var r=1,i=0;i<t[n].length;i++)if(Se(t[n][i],e)){r=0;break}r&&t[n].push(e)})):h(t,v({},n,p(o[n]))):h(t,v({},n,o[n]))};for(var c in o)a(c)}return e.apply(void 0,[t].concat(r))},t.cyrb53Hash=function(e){for(var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=function(e,t){if(K(Math.imul))return Math.imul(e,t);var n=(4194303&e)*(t|=0);return 4290772992&e&&(n+=(4290772992&e)*t|0),0|n},i=3735928559^n,o=1103547991^n,a=0;a<e.length;a++)t=e.charCodeAt(a),i=r(i^t,2654435761),o=r(o^t,1597334677);return i=r(i^i>>>16,2246822507)^r(o^o>>>13,3266489909),(4294967296*(2097151&(o=r(o^o>>>16,2246822507)^r(i^i>>>13,3266489909)))+(i>>>0)).toString()};var r=n(3),i=n(171),o=n.n(i),a=n(11),c=n.n(a),u=n(12),s=n.n(u),d=n(172);n.d(t,"deepAccess",(function(){return d.a}));var f=n(173);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){c=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw i}}return o}(e,t)||g(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e){return function(e){if(Array.isArray(e))return b(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||g(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){if(e){if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function y(e){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"deepSetValue",(function(){return f.a}));var m,O=n(5),E=Object.prototype.toString,j=Boolean(window.console),S=Boolean(j&&window.console.log),A=Boolean(j&&window.console.info),T=Boolean(j&&window.console.warn),I=Boolean(j&&window.console.error),w=function(){return null==m&&(m=n(10)),m.emit.apply(m,arguments)},C={checkCookieSupport:he,createTrackPixelIframeHtml:oe,getWindowSelf:q,getWindowTop:P,getWindowLocation:M,insertUserSyncIframe:ie,insertElement:te,isFn:K,triggerPixel:re,logError:F,logWarn:L,logMessage:G,logInfo:z,parseQS:Ee,formatQS:je,deepEqual:Se},R={};var x,_={},U=function(e,t){return t}.bind(null,1,_)()===_?Function.prototype.bind:function(e){var t=this,n=Array.prototype.slice.call(arguments,1);return function(){return t.apply(e,n.concat(Array.prototype.slice.call(arguments)))}},B=(x=0,function(){return++x});function D(){return B()+Math.random().toString(16).substr(2)}function k(e){if(N(e))return e[0]+"x"+e[1]}function N(e){return J(e)&&2===e.length&&!isNaN(e[0])&&!isNaN(e[1])}function P(){return window.top}function q(){return window.self}function M(){return window.location}function G(){V()&&S&&console.log.apply(console,W(arguments,"MESSAGE:"))}function z(){V()&&A&&console.info.apply(console,W(arguments,"INFO:"))}function L(){V()&&T&&console.warn.apply(console,W(arguments,"WARNING:")),w(O.EVENTS.AUCTION_DEBUG,{type:"WARNING",arguments:arguments})}function F(){V()&&I&&console.error.apply(console,W(arguments,"ERROR:")),w(O.EVENTS.AUCTION_DEBUG,{type:"ERROR",arguments:arguments})}function W(e,t){e=[].slice.call(e);var n=r.b.getCurrentBidder();return t&&e.unshift(t),n&&e.unshift(i("#aaa")),e.unshift(i("#EE164F")),e.unshift("%cThe Moneytizer"+(n?"%c".concat(n):"")),e;function i(e){return"display: inline-block; color: #fff; background: ".concat(e,"; padding: 1px 4px; border-radius: 3px;")}}function V(){return!!r.b.getConfig("debug")}function H(e,t){return E.call(e)==="[object "+t+"]"}function K(e){return H(e,"Function")}function Y(e){return H(e,"String")}function J(e){return H(e,"Array")}function Q(e){return H(e,"Number")}function $(e){return H(e,"Object")}function X(e){if(!e)return!0;if(J(e)||Y(e))return!(e.length>0);for(var t in e)if(hasOwnProperty.call(e,t))return!1;return!0}function Z(e,t){if(!X(e)){if(K(e.forEach))return e.forEach(t,this);var n=0,r=e.length;if(r>0)for(;n<r;n++)t(e[n],n,e);else for(n in e)hasOwnProperty.call(e,n)&&t.call(this,e[n],n)}}function ee(e,t){return e.hasOwnProperty?e.hasOwnProperty(t):void 0!==e[t]&&e.constructor.prototype[t]!==e[t]}function te(e,t,n,r){var i;t=t||document,i=n?t.getElementsByTagName(n):t.getElementsByTagName("head");try{if((i=i.length?i:t.getElementsByTagName("body")).length){i=i[0];var o=r?null:i.firstChild;return i.insertBefore(e,o)}}catch(e){}}function ne(e,t){var n=null;return new Promise((function(r){var i=function t(){e.removeEventListener("load",t),e.removeEventListener("error",t),null!=n&&window.clearTimeout(n),r()};e.addEventListener("load",i),e.addEventListener("error",i),null!=t&&(n=window.setTimeout(i,t))}))}function re(e,t,n){var r=new Image;t&&C.isFn(t)&&ne(r,n).then(t),r.src=e}function ie(e,t,n){var r=C.createTrackPixelIframeHtml(e,!1,"allow-scripts allow-same-origin"),i=document.createElement("div");i.innerHTML=r;var o=i.firstChild;t&&C.isFn(t)&&ne(o,n).then(t),C.insertElement(o,document,"html",!0)}function oe(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return e?(t&&(e=encodeURI(e)),n&&(n='sandbox="'.concat(n,'"')),"<iframe ".concat(n,' id="').concat(D(),'"\n      frameborder="0"\n      allowtransparency="true"\n      marginheight="0" marginwidth="0"\n      width="0" hspace="0" vspace="0" height="0"\n      style="height:0px;width:0px;display:none;"\n      scrolling="no"\n      src="').concat(e,'">\n    </iframe>')):""}function ae(e,t,n){return null==t?n:Y(t)?t:Q(t)?t.toString():void C.logWarn("Unsuported type for param: "+e+" required type: String")}function ce(e,t,n){return n.indexOf(e)===t}function ue(e,t){return e.concat(t)}function se(e){return Object.keys(e)}function de(e,t){return e[t]}function fe(){if(window.googletag&&K(window.googletag.pubads)&&K(window.googletag.pubads().getSlots))return!0}var le=be("timeToRespond",(function(e,t){return e>t})),pe=be("responseTimestamp",(function(e,t){return e>t})),ge=be("responseTimestamp",(function(e,t){return e<t}));function be(e,t){return function(n,r){return n.cpm===r.cpm?t(n[e],r[e])?r:n:n.cpm<r.cpm?r:n}}function ve(e){return o()(e)}function he(){if(window.navigator.cookieEnabled||document.cookie.length)return!0}var ye=function(e,t){return e.getAdUnitPath()===t||e.getSlotElementId()===t};function me(e){return function(t){return ye(t,e)}}function Oe(e){return Number.isInteger?Number.isInteger(e):"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}function Ee(e){return e?e.replace(/^\?/,"").split("&").reduce((function(e,t){var n=l(t.split("="),2),r=n[0],i=n[1];return/\[\]$/.test(r)?(e[r=r.replace("[]","")]=e[r]||[],e[r].push(i)):e[r]=i||"",e}),{}):{}}function je(e){return Object.keys(e).map((function(t){return Array.isArray(e[t])?e[t].map((function(e){return"".concat(t,"[]=").concat(e)})).join("&"):"".concat(t,"=").concat(e[t])})).join("&")}function Se(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.checkTypes,i=void 0!==r&&r;if(e===t)return!0;if("object"!==y(e)||null===e||"object"!==y(t)||null===t||i&&e.constructor!==t.constructor)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var o in e){if(!t.hasOwnProperty(o))return!1;if(!Se(e[o],t[o],{checkTypes:i}))return!1}return!0}},1:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"storage",(function(){return I})),t.registerBidder=function(e){var t=Array.isArray(e.supportedMediaTypes)?{supportedMediaTypes:e.supportedMediaTypes}:void 0;function n(e){var n=C(e);i.default.registerBidAdapter(n,e.code,t)}n(e),Array.isArray(e.aliases)&&e.aliases.forEach((function(t){var r,o,a=t;Object(h.isPlainObject)(t)&&(a=t.code,r=t.gvlid,o=t.skipPbsAliasing),i.default.aliasRegistry[a]=e.code,n(T({},e,{code:a,gvlid:r,skipPbsAliasing:o}))}))},t.newBidder=C,n.d(t,"processBidderRequests",(function(){return R})),n.d(t,"registerSyncInner",(function(){return x})),t.preloadBidderMappingFile=_,t.getIabSubCategory=function(e,t){var n=i.default.getBidAdapter(e);if(n.getSpec().getMappingFileInfo){var r=n.getSpec().getMappingFileInfo(),o=r.localStorageKey?r.localStorageKey:n.getBidderCode(),a=I.getDataFromLocalStorage(o);if(a){try{a=JSON.parse(a)}catch(t){Object(h.logError)("Failed to parse ".concat(e," mapping data stored in local storage"))}return a.mapping[t]?a.mapping[t]:null}}},t.isValid=B;var r=n(84),i=n(9),o=n(3),a=n(43),c=n(61),u=n(47),s=n(19),d=n(5),f=n.n(d),l=n(10),p=n.n(l),g=n(12),b=n.n(g),v=n(4),h=n(0),y=n(2),m=n(8),O=n(7),E=n(18);function j(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){c=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return S(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function A(e){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function T(){return(T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var I=Object(O.a)("bidderFactory"),w=["cpm","ttl","creativeId","netRevenue","currency"];function C(e){return T(new r.a(e.code),{getSpec:function(){return Object.freeze(e)},registerSyncs:t,callBids:function(r,c,u,s,d,l){if(Array.isArray(r.bids)){var g={},b=[],v=r.bids.filter(n);if(0!==v.length){var y={};v.forEach((function(e){y[e.bidId]=e,e.adUnitCode||(e.adUnitCode=e.placementCode)})),R(e,v,r,s,l,{onRequest:function(e){return p.a.emit(f.a.EVENTS.BEFORE_BIDDER_HTTP,r,e)},onResponse:function(t){d(e.code),b.push(t)},onError:function(t,n){d(e.code),i.default.callBidderError(e.code,n,r),p.a.emit(f.a.EVENTS.BIDDER_ERROR,{error:n,bidderRequest:r}),Object(h.logError)("Server call for ".concat(e.code," failed: ").concat(t," ").concat(n.status,". Continuing without bids."))},onBid:function(t){var n=y[t.requestId];if(n){t.originalCpm=t.cpm,t.originalCurrency=t.currency,t.meta=t.meta||T({},t[n.bidder]);var r=T(Object(a.a)(f.a.STATUS.GOOD,n),t);!function(e,t){g[e]=!0,B(e,t)&&c(e,t)}(n.adUnitCode,r)}else Object(h.logWarn)("Bidder ".concat(e.code," made bid for unknown request ID: ").concat(t.requestId,". Ignoring."))},onCompletion:m})}else m()}function m(){u(),o.b.runWithBidder(e.code,(function(){p.a.emit(f.a.EVENTS.BIDDER_DONE,r),t(b,r.gdprConsent,r.uspConsent)}))}}});function t(t,n,r){x(e,t,n,r)}function n(t){return!!e.isBidRequestValid(t)||(Object(h.logWarn)("Invalid bid sent to bidder ".concat(e.code,": ").concat(JSON.stringify(t))),!1)}}var R=Object(m.b)("sync",(function(e,t,n,r,i,o){var a=o.onRequest,c=o.onResponse,u=o.onError,s=o.onBid,d=o.onCompletion,f=e.buildRequests(t,n);if(f&&0!==f.length){Array.isArray(f)||(f=[f]);var l=Object(h.delayExecution)(d,f.length);f.forEach((function(t){var n=i((function(n,r){try{n=JSON.parse(n)}catch(e){}var i;n={body:n,headers:{get:r.getResponseHeader.bind(r)}},c(n);try{i=e.interpretResponse(n,t)}catch(t){return Object(h.logError)("Bidder ".concat(e.code," failed to interpret the server's response. Continuing without bids"),null,t),void l()}i&&(Object(h.isArray)(i)?i.forEach(s):s(i)),l()}));function o(e){return e.split("/")[2].split(":")[0].split("?")[0]}var d=i((function(e,t){u(e,t),l()}));switch(a(t),"ads.themoneytizer.com"==o(t.url)||"c.tmyzer.com"==o(t.url)?window.tmcredentials=!1:window.tmcredentials=!0,t.method){case"GET":r("".concat(t.url).concat(function(e){if(e)return"?".concat("object"===A(e)?Object(h.parseQueryStringParameters)(e):e);return""}(t.data)),{success:n,error:d},void 0,T({method:"GET",withCredentials:window.tmcredentials},t.options));break;case"POST":r(t.url,{success:n,error:d},"string"==typeof t.data?t.data:JSON.stringify(t.data),T({method:"POST",contentType:"text/plain",withCredentials:window.tmcredentials},t.options));break;default:Object(h.logWarn)("Skipping invalid request from ".concat(e.code,". Request type ").concat(t.type," must be GET or POST")),l()}}))}else d()}),"processBidderRequests"),x=Object(m.b)("async",(function(e,t,n,r){var a=o.b.getConfig("userSync.aliasSyncEnabled");if(e.getUserSyncs&&(a||!i.default.aliasRegistry[e.code])){var u=o.b.getConfig("userSync.filterSettings"),s=e.getUserSyncs({iframeEnabled:!(!u||!u.iframe&&!u.all),pixelEnabled:!(!u||!u.image&&!u.all)},t,n,r);s&&(Array.isArray(s)||(s=[s]),s.forEach((function(t){c.a.registerSync(t.type,e.code,t.url)})))}}),"registerSyncs");function _(e,t){if(!o.b.getConfig("adpod.brandCategoryExclusion"))return e.call(this,t);t.filter((function(e){return Object(h.deepAccess)(e,"mediaTypes.video.context")===y.a})).map((function(e){return e.bids.map((function(e){return e.bidder}))})).reduce(h.flatten,[]).filter(h.uniques).forEach((function(e){var t=i.default.getBidAdapter(e);if(t.getSpec().getMappingFileInfo){var n=t.getSpec().getMappingFileInfo(),r=n.refreshInDays?n.refreshInDays:1,o=n.localStorageKey?n.localStorageKey:t.getSpec().code,a=I.getDataFromLocalStorage(o);try{(!(a=a?JSON.parse(a):void 0)||Object(h.timestamp)()>a.lastUpdated+24*r*60*60*1e3)&&Object(v.a)(n.url,{success:function(t){try{t=JSON.parse(t);var n={lastUpdated:Object(h.timestamp)(),mapping:t.mapping};I.setDataInLocalStorage(o,JSON.stringify(n))}catch(t){Object(h.logError)("Failed to parse ".concat(e," bidder translation mapping file"))}},error:function(){Object(h.logError)("Failed to load ".concat(e," bidder translation file"))}})}catch(t){Object(h.logError)("Failed to parse ".concat(e," bidder translation mapping file"))}}})),e.call(this,t)}function U(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.index,i=void 0===r?E.a.index:r;if((t.width||0===parseInt(t.width,10))&&(t.height||0===parseInt(t.height,10)))return t.width=parseInt(t.width,10),t.height=parseInt(t.height,10),!0;var o=i.getBidRequest(t),a=i.getMediaTypes(t),c=o&&o.sizes||a&&a.banner&&a.banner.sizes,u=Object(h.parseSizesInput)(c);if(1===u.length){var s=u[0].split("x"),d=j(s,2),f=d[0],l=d[1];return t.width=parseInt(f,10),t.height=parseInt(l,10),!0}return!1}function B(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.index,i=void 0===r?E.a.index:r;function o(){var e=Object.keys(t);return w.every((function(n){return b()(e,n)&&!b()([void 0,null],t[n])}))}function a(e){return"Invalid bid from ".concat(t.bidderCode,". Ignoring bid: ").concat(e)}return e?t?o()?"native"!==t.mediaType||Object(u.h)(t,{index:i})?"video"!==t.mediaType||Object(s.d)(t,{index:i})?!("banner"===t.mediaType&&!U(e,t,{index:i}))||(Object(h.logError)(a("Banner bids require a width and height")),!1):(Object(h.logError)(a("Video bid does not have required vastUrl or renderer property")),!1):(Object(h.logError)(a("Native bid missing some required properties.")),!1):(Object(h.logError)(a("Bidder ".concat(t.bidderCode," is missing required params. Check http://prebid.org/dev-docs/bidder-adapter-1.html for list of params."))),!1):(Object(h.logWarn)("Some adapter tried to add an undefined bid for ".concat(e,".")),!1):(Object(h.logWarn)("No adUnitCode was supplied to addBidResponse."),!1)}Object(m.a)("checkAdUnitSetup").before(_)},10:function(e,t,n){function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=n(0),o=n(5),a=Array.prototype.slice,c=Array.prototype.push,u=i._map(o.EVENTS,(function(e){return e})),s=o.EVENT_ID_PATHS,d=[];e.exports=function(){var e={},t={};function n(t,n){i.logMessage("Emitting event for: "+t);var r=n[0]||{},o=r[s[t]],a=e[t]||{que:[]},u=i._map(a,(function(e,t){return t})),f=[];d.push({eventType:t,args:r,id:o,elapsedTime:i.getPerformanceNow()}),o&&i.contains(u,o)&&c.apply(f,a[o].que),c.apply(f,a.que),i._each(f,(function(e){if(e)try{e.apply(null,n)}catch(e){i.logError("Error executing handler:","events.js",e)}}))}return t.on=function(t,n,r){if(function(e){return i.contains(u,e)}(t)){var o=e[t]||{que:[]};r?(o[r]=o[r]||{que:[]},o[r].que.push(n)):o.que.push(n),e[t]=o}else i.logError("Wrong event name : "+t+" Valid event names :"+u)},t.emit=function(e){var t=a.call(arguments,1);n(e,t)},t.off=function(t,n,r){var o=e[t];i.isEmpty(o)||i.isEmpty(o.que)&&i.isEmpty(o[r])||r&&(i.isEmpty(o[r])||i.isEmpty(o[r].que))||(r?i._each(o[r].que,(function(e){var t=o[r].que;e===n&&t.splice(t.indexOf(e),1)})):i._each(o.que,(function(e){var t=o.que;e===n&&t.splice(t.indexOf(e),1)})),e[t]=o)},t.get=function(){return e},t.getEvents=function(){var e=[];return i._each(d,(function(t){var n=r({},t);e.push(n)})),e},t}()},100:function(e,t,n){"use strict";var r=n(140).charAt,i=n(46),o=n(73),a="String Iterator",c=i.set,u=i.getterFor(a);o(String,"String",(function(e){c(this,{type:a,string:String(e),index:0})}),(function(){var e,t=u(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=r(n,i),t.index+=e.length,{value:e,done:!1})}))},101:function(e,t,n){"use strict";var r=n(50),i=n(55),o=n(40),a=n(46),c=n(73),u="Array Iterator",s=a.set,d=a.getterFor(u);e.exports=c(Array,"Array",(function(e,t){s(this,{type:u,target:r(e),index:0,kind:t})}),(function(){var e=d(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},1017:function(e,t,n){e.exports=n(81)},102:function(e,t,n){"use strict";t.a=function(e,t){if(e.labelAll)return{labelAll:!0,labels:e.labelAll,activeLabels:t};return{labelAll:!1,labels:e.labelAny,activeLabels:t}},t.c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u,n=s(t);if(!n.shouldFilter)return!0;return!!n.sizesSupported[e]},t.b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.labels,n=void 0===t?[]:t,r=e.labelAll,o=void 0!==r&&r,c=e.activeLabels,d=void 0===c?[]:c,f=arguments.length>1?arguments[1]:void 0,l=arguments.length>2?arguments[2]:void 0,p=arguments.length>3&&void 0!==arguments[3]?arguments[3]:u,g=s(p);f=Object(i.isPlainObject)(f)?Object(i.deepClone)(f):l?{banner:{sizes:l}}:{};var b=Object(i.deepAccess)(f,"banner.sizes");g.shouldFilter&&b&&(f.banner.sizes=b.filter((function(e){return g.sizesSupported[e]})));var v=Object.keys(f),h={active:v.every((function(e){return"banner"!==e}))||v.some((function(e){return"banner"===e}))&&Object(i.deepAccess)(f,"banner.sizes.length")>0&&(0===n.length||!o&&(n.some((function(e){return g.labels[e]}))||n.some((function(e){return a()(d,e)})))||o&&n.reduce((function(e,t){return e?g.labels[t]||a()(d,t):e}),!0)),mediaTypes:f};b&&b.length!==f.banner.sizes.length&&(h.filterResults={before:b,after:f.banner.sizes});return h};var r=n(3),i=n(0),o=n(12),a=n.n(o);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var u=[];function s(e){return e.reduce((function(e,t){if("object"===c(t)&&"string"==typeof t.mediaQuery&&t.mediaQuery.length>0){var n=!1;try{n=Object(i.getWindowTop)().matchMedia(t.mediaQuery).matches}catch(e){Object(i.logWarn)("Unfriendly iFrame blocks sizeConfig from being correctly evaluated"),n=matchMedia(t.mediaQuery).matches}n&&(Array.isArray(t.sizesSupported)&&(e.shouldFilter=!0),["labels","sizesSupported"].forEach((function(n){return(t[n]||[]).forEach((function(t){return e[n][t]=!0}))})))}else Object(i.logWarn)('sizeConfig rule missing required property "mediaQuery"');return e}),{labels:{},sizesSupported:{},shouldFilter:!1})}r.b.getConfig("sizeConfig",(function(e){return function(e){u=e}(e.sizeConfig)}))},103:function(e,t,n){"use strict";t.b=function(e,t){var n={puts:e.map(c)};Object(r.a)(i.b.getConfig("cache.url"),function(e){return{success:function(t){var n;try{n=JSON.parse(t).responses}catch(t){return void e(t,[])}n?e(null,n):e(new Error("The cache server didn't respond with a responses property."),[])},error:function(t,n){e(new Error("Error storing video ad in the cache: ".concat(t,": ").concat(JSON.stringify(n))),[])}}}(t),JSON.stringify(n),{contentType:"text/plain",withCredentials:!0})},t.a=function(e){return"".concat(i.b.getConfig("cache.url"),"?uuid=").concat(e)};var r=n(4),i=n(3),o=n(18);function a(e,t){var n=t?"<![CDATA[".concat(t,"]]>"):"";return'<VAST version="3.0">\n    <Ad>\n      <Wrapper>\n        <AdSystem>prebid.org wrapper</AdSystem>\n        <VASTAdTagURI><![CDATA['.concat(e,"]]></VASTAdTagURI>\n        <Impression>").concat(n,"</Impression>\n        <Creatives></Creatives>\n      </Wrapper>\n    </Ad>\n  </VAST>")}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.index,r=void 0===n?o.a.index:n,c=e.vastXml?e.vastXml:a(e.vastUrl,e.vastImpUrl),u=r.getAuction(e),s={type:"xml",value:c,ttlseconds:Number(e.ttl)};return i.b.getConfig("cache.vasttrack")&&(s.bidder=e.bidder,s.bidid=e.requestId,s.aid=e.auctionId),null!=u&&(s.timestamp=u.getAuctionStart()),"string"==typeof e.customCacheKey&&""!==e.customCacheKey&&(s.key=e.customCacheKey),s}},104:function(e,t,n){"use strict";t.a=function(e){var t=e.reason,n=e.message,i=e.bid,a=e.id,c={reason:t,message:n};i&&(c.bid=i);a&&(c.adId=a);Object(r.logError)(n),o.a.emit(u,c)},t.b=function(e){var t=e.doc,n=e.bid,r=e.id,i={doc:t};n&&(i.bid=n);r&&(i.adId=r);o.a.emit(s,i)};var r=n(0),i=n(10),o=n.n(i),a=n(5),c=n.n(a).a.EVENTS,u=c.AD_RENDER_FAILED,s=c.AD_RENDER_SUCCEEDED},105:function(e,t,n){"use strict";n.d(t,"b",(function(){return p})),n.d(t,"a",(function(){return g})),n.d(t,"c",(function(){return S})),t.d=function(e){var t;try{e=e||window.sessionStorage,t=JSON.parse(e.getItem(l))}catch(e){}t&&v(t,!0)};var r,i,o=n(3),a=n(28),c=n(8),u=n(0),s=Object(u.prefixLog)("DEBUG:"),d=s.logWarn,f=s.logMessage,l="tmzr:debugging",p=[function(e){b(),function(e){r=E.bind(e),a.c.before(r,5),i=j.bind(e),a.e.before(i,5)}(e)}],g=[b];function b(){a.c.getHooks({hook:r}).remove(),a.e.getHooks({hook:i}).remove()}function v(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];o.b.setConfig({debug:!0}),p.forEach((function(t){return t(e)})),f("bidder overrides enabled".concat(t?" from session":""))}function h(){g.forEach((function(e){return e()})),f("bidder overrides disabled")}function y(e,t,n){return!(!e.bidder||e.bidder===t)||!(!e.adUnitCode||e.adUnitCode===n)}function m(e,t){return Array.isArray(e)&&-1===e.indexOf(t)}function O(e,t,n){return Object.keys(e).filter((function(e){return-1===["adUnitCode","bidder"].indexOf(e)})).reduce((function(t,r){return f("bidder overrides changed '".concat(t.adUnitCode,"/").concat(t.bidderCode,"' ").concat(n,".").concat(r," from '").concat(t[r],".js' to '").concat(e[r],"'")),t[r]=e[r],t.isDebug=!0,t}),t)}function E(e,t,n){var r=this;m(r.bidders,n.bidderCode)?d("bidder '".concat(n.bidderCode,"' excluded from auction by bidder overrides")):(Array.isArray(r.bids)&&r.bids.forEach((function(e){y(e,n.bidderCode,t)||O(e,n,"bidder")})),e(t,n))}function j(e,t){var n=this,r=t.filter((function(e){return!m(n.bidders,e.bidderCode)||(d("bidRequest '".concat(e.bidderCode,"' excluded from auction by bidder overrides")),!1)}));Array.isArray(n.bidRequests)&&r.forEach((function(e){n.bidRequests.forEach((function(t){e.bids.forEach((function(n){y(t,e.bidderCode,n.adUnitCode)||O(t,n,"bidRequest")}))}))})),e(r)}var S=Object(c.b)("sync",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.sessionStorage,r=void 0===n?window.sessionStorage:n;if(e.enabled)try{r.setItem(l,JSON.stringify(e))}catch(e){}else try{r.removeItem(l)}catch(e){}}));o.b.getConfig("debugging",(function(e){return function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).sessionStorage,n=void 0===t?window.sessionStorage:t;S(e,{sessionStorage:n}),e.enabled?v(e):h()}(e.debugging)}))},109:function(e,t,n){n(110);var r=n(56);e.exports=r("Array","find")},11:function(e,t,n){var r=n(109);e.exports=r},110:function(e,t,n){"use strict";var r=n(16),i=n(64).find,o=n(55),a="find",c=!0;a in[]&&Array(1).find((function(){c=!1})),r({target:"Array",proto:!0,forced:c},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o(a)},111:function(e,t,n){var r=n(34),i=n(112),o=n(44),a=n(50),c=n(63),u=n(31),s=n(86),d=Object.getOwnPropertyDescriptor;t.f=r?d:function(e,t){if(e=a(e),t=c(t,!0),s)try{return d(e,t)}catch(e){}if(u(e,t))return o(!i.f.call(e,t),e[t])}},112:function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},113:function(e,t,n){var r=n(29),i=/#|\.prototype\./,o=function(e,t){var n=c[a(e)];return n==s||n!=u&&("function"==typeof t?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",s=o.POLYFILL="P";e.exports=o},114:function(e,t,n){var r=n(30),i=n(115),o=n(23)("species");e.exports=function(e,t){var n;return i(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},115:function(e,t,n){var r=n(51);e.exports=Array.isArray||function(e){return"Array"==r(e)}},116:function(e,t,n){var r=n(27),i=n(33);e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},117:function(e,t,n){var r,i,o=n(27),a=n(118),c=o.process,u=c&&c.versions,s=u&&u.v8;s?i=(r=s.split("."))[0]<4?1:r[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=r[1]),e.exports=i&&+i},118:function(e,t,n){var r=n(26);e.exports=r("navigator","userAgent")||""},119:function(e,t,n){var r=n(89);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},12:function(e,t,n){var r=n(120);e.exports=r},120:function(e,t,n){n(121);var r=n(56);e.exports=r("Array","includes")},121:function(e,t,n){"use strict";var r=n(16),i=n(90).includes,o=n(55);r({target:"Array",proto:!0},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},122:function(e,t,n){var r=n(65),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},123:function(e,t,n){n(124),n(139),n(100),n(141);var r=n(45);e.exports=r.Set},124:function(e,t,n){"use strict";var r=n(125),i=n(130);e.exports=r("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i)},125:function(e,t,n){"use strict";var r=n(16),i=n(27),o=n(92),a=n(29),c=n(33),u=n(22),s=n(69),d=n(30),f=n(60),l=n(35).f,p=n(64).forEach,g=n(34),b=n(46),v=b.set,h=b.getterFor;e.exports=function(e,t,n){var b,y=-1!==e.indexOf("Map"),m=-1!==e.indexOf("Weak"),O=y?"set":"add",E=i[e],j=E&&E.prototype,S={};if(g&&"function"==typeof E&&(m||j.forEach&&!a((function(){(new E).entries().next()})))){b=t((function(t,n){v(s(t,b,e),{type:e,collection:new E}),null!=n&&u(n,t[O],{that:t,AS_ENTRIES:y})}));var A=h(e);p(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(e){var t="add"==e||"set"==e;!(e in j)||m&&"clear"==e||c(b.prototype,e,(function(n,r){var i=A(this).collection;if(!t&&m&&!d(n))return"get"==e&&void 0;var o=i[e](0===n?0:n,r);return t?this:o}))})),m||l(b.prototype,"size",{configurable:!0,get:function(){return A(this).collection.size}})}else b=n.getConstructor(t,e,y,O),o.REQUIRED=!0;return f(b,e,!1,!0),S[e]=b,r({global:!0,forced:!0},S),m||n.setStrong(b,e,y),b}},126:function(e,t,n){var r=n(29);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},127:function(e,t,n){"use strict";var r=n(68),i=n(59);e.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},128:function(e,t,n){var r=n(27),i=n(129),o=r.WeakMap;e.exports="function"==typeof o&&/native code/.test(i(o))},129:function(e,t,n){var r=n(66),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return i.call(e)}),e.exports=r.inspectSource},13:function(e,t,n){"use strict";t.a=u,t.c=function(e){return!(!e||!e.url)},t.b=function(e,t){e.render(t)};var r=n(32),i=n(0),o=n(11),a=n.n(o),c="outstream";function u(e){var t=this,n=e.url,o=e.config,a=e.id,u=e.callback,d=e.loaded,f=e.adUnitCode;this.url=n,this.config=o,this.handlers={},this.id=a,this.loaded=d,this.cmd=[],this.push=function(e){"function"==typeof e?t.loaded?e.call():t.cmd.push(e):Object(i.logError)("Commands given to Renderer.push must be wrapped in a function")},this.callback=u||function(){t.loaded=!0,t.process()},this.render=function(){var e=this,t=arguments,o=function(){e._render?e._render.apply(e,t):Object(i.logWarn)("No render function was provided, please use .setRender on the renderer")};s(f)?(Object(i.logWarn)("External Js not loaded by Renderer since renderer url and callback is already defined on adUnit ".concat(f)),o()):(this.cmd.unshift(o),Object(r.a)(n,c,this.callback))}.bind(this)}function s(e){var t=tmzr.adUnits,n=a()(t,(function(t){return t.code===e}));if(!n)return!1;var r=Object(i.deepAccess)(n,"renderer"),o=!!(r&&r.url&&r.render),c=Object(i.deepAccess)(n,"mediaTypes.video.renderer"),u=!!(c&&c.url&&c.render);return!!(o&&!0!==r.backupOnly||u&&!0!==c.backupOnly)}u.install=function(e){return new u({url:e.url,config:e.config,id:e.id,callback:e.callback,loaded:e.loaded,adUnitCode:e.adUnitCode})},u.prototype.getConfig=function(){return this.config},u.prototype.setRender=function(e){this._render=e},u.prototype.setEventHandlers=function(e){this.handlers=e},u.prototype.handleVideoEvent=function(e){var t=e.id,n=e.eventName;"function"==typeof this.handlers[n]&&this.handlers[n](),Object(i.logMessage)("Prebid Renderer event for id ".concat(t," type ").concat(n))},u.prototype.process=function(){for(;this.cmd.length>0;)try{this.cmd.shift().call()}catch(e){Object(i.logError)("Error processing Renderer command: ",e)}}},130:function(e,t,n){"use strict";var r=n(35).f,i=n(71),o=n(96),a=n(25),c=n(69),u=n(22),s=n(73),d=n(138),f=n(34),l=n(92).fastKey,p=n(46),g=p.set,b=p.getterFor;e.exports={getConstructor:function(e,t,n,s){var d=e((function(e,r){c(e,d,t),g(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),f||(e.size=0),null!=r&&u(r,e[s],{that:e,AS_ENTRIES:n})})),p=b(t),v=function(e,t,n){var r,i,o=p(e),a=h(e,t);return a?a.value=n:(o.last=a={index:i=l(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=a),r&&(r.next=a),f?o.size++:e.size++,"F"!==i&&(o.index[i]=a)),e},h=function(e,t){var n,r=p(e),i=l(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return o(d.prototype,{clear:function(){for(var e=p(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,f?e.size=0:this.size=0},delete:function(e){var t=this,n=p(t),r=h(t,e);if(r){var i=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first==r&&(n.first=i),n.last==r&&(n.last=o),f?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=p(this),r=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!h(this,e)}}),o(d.prototype,n?{get:function(e){var t=h(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),f&&r(d.prototype,"size",{get:function(){return p(this).size}}),d},setStrong:function(e,t,n){var r=t+" Iterator",i=b(t),o=b(r);s(e,t,(function(e,t){g(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),d(t)}}},131:function(e,t,n){var r=n(34),i=n(35),o=n(17),a=n(132);e.exports=r?Object.defineProperties:function(e,t){o(e);for(var n,r=a(t),c=r.length,u=0;c>u;)i.f(e,n=r[u++],t[n]);return e}},132:function(e,t,n){var r=n(133),i=n(95);e.exports=Object.keys||function(e){return r(e,i)}},133:function(e,t,n){var r=n(31),i=n(50),o=n(90).indexOf,a=n(57);e.exports=function(e,t){var n,c=i(e),u=0,s=[];for(n in c)!r(a,n)&&r(c,n)&&s.push(n);for(;t.length>u;)r(c,n=t[u++])&&(~o(s,n)||s.push(n));return s}},134:function(e,t,n){var r=n(26);e.exports=r("document","documentElement")},135:function(e,t,n){var r=n(29);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},136:function(e,t,n){var r=n(17),i=n(137);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,o){return r(n),i(o),t?e.call(n,o):n.__proto__=o,n}}():void 0)},137:function(e,t,n){var r=n(30);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},138:function(e,t,n){"use strict";var r=n(26),i=n(35),o=n(23),a=n(34),c=o("species");e.exports=function(e){var t=r(e),n=i.f;a&&t&&!t[c]&&n(t,c,{configurable:!0,get:function(){return this}})}},139:function(e,t){},14:function(e,t,n){"use strict";t.a=function(){return window.tmzr},window.tmzr=window.tmzr||{},window.tmzr.cmd=window.tmzr.cmd||[],window.tmzr.que=window.tmzr.que||[],window._pbjsGlobals=window._pbjsGlobals||[],window._pbjsGlobals.push("tmzr")},140:function(e,t,n){var r=n(65),i=n(52),o=function(e){return function(t,n){var o,a,c=String(i(t)),u=r(n),s=c.length;return u<0||u>=s?e?"":void 0:(o=c.charCodeAt(u))<55296||o>56319||u+1===s||(a=c.charCodeAt(u+1))<56320||a>57343?e?c.charAt(u):o:e?c.slice(u,u+2):a-56320+(o-55296<<10)+65536}};e.exports={codeAt:o(!1),charAt:o(!0)}},141:function(e,t,n){n(101);var r=n(142),i=n(27),o=n(59),a=n(33),c=n(40),u=n(23)("toStringTag");for(var s in r){var d=i[s],f=d&&d.prototype;f&&o(f)!==u&&a(f,u,s),c[s]=c.Array}},142:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},143:function(e,t,n){n(16)({target:"Set",stat:!0},{from:n(144)})},144:function(e,t,n){"use strict";var r=n(24),i=n(25),o=n(22);e.exports=function(e){var t,n,a,c,u=arguments.length,s=u>1?arguments[1]:void 0;return r(this),(t=void 0!==s)&&r(s),null==e?new this:(n=[],t?(a=0,c=i(s,u>2?arguments[2]:void 0,2),o(e,(function(e){n.push(c(e,a++))}))):o(e,n.push,{that:n}),new this(n))}},145:function(e,t,n){n(16)({target:"Set",stat:!0},{of:n(146)})},146:function(e,t,n){"use strict";e.exports=function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)}},147:function(e,t,n){"use strict";var r=n(16),i=n(20),o=n(148);r({target:"Set",proto:!0,real:!0,forced:i},{addAll:function(){return o.apply(this,arguments)}})},148:function(e,t,n){"use strict";var r=n(17),i=n(24);e.exports=function(){for(var e=r(this),t=i(e.add),n=0,o=arguments.length;n<o;n++)t.call(e,arguments[n]);return e}},149:function(e,t,n){"use strict";var r=n(16),i=n(20),o=n(150);r({target:"Set",proto:!0,real:!0,forced:i},{deleteAll:function(){return o.apply(this,arguments)}})},150:function(e,t,n){"use strict";var r=n(17),i=n(24);e.exports=function(){for(var e,t=r(this),n=i(t.delete),o=!0,a=0,c=arguments.length;a<c;a++)e=n.call(t,arguments[a]),o=o&&e;return!!o}},151:function(e,t,n){"use strict";var r=n(16),i=n(20),o=n(17),a=n(25),c=n(38),u=n(22);r({target:"Set",proto:!0,real:!0,forced:i},{every:function(e){var t=o(this),n=c(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return!u(n,(function(e,n){if(!r(e,e,t))return n()}),{IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},152:function(e,t,n){"use strict";var r=n(16),i=n(20),o=n(26),a=n(17),c=n(24),u=n(41),s=n(22);r({target:"Set",proto:!0,real:!0,forced:i},{difference:function(e){var t=a(this),n=new(u(t,o("Set")))(t),r=c(n.delete);return s(e,(function(e){r.call(n,e)})),n}})},153:function(e,t,n){"use strict";var r=n(16),i=n(20),o=n(26),a=n(17),c=n(24),u=n(25),s=n(41),d=n(38),f=n(22);r({target:"Set",proto:!0,real:!0,forced:i},{filter:function(e){var t=a(this),n=d(t),r=u(e,arguments.length>1?arguments[1]:void 0,3),i=new(s(t,o("Set"))),l=c(i.add);return f(n,(function(e){r(e,e,t)&&l.call(i,e)}),{IS_ITERATOR:!0}),i}})},154:function(e,t,n){"use strict";var r=n(16),i=n(20),o=n(17),a=n(25),c=n(38),u=n(22);r({target:"Set",proto:!0,real:!0,forced:i},{find:function(e){var t=o(this),n=c(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return u(n,(function(e,n){if(r(e,e,t))return n(e)}),{IS_ITERATOR:!0,INTERRUPTED:!0}).result}})},155:function(e,t,n){"use strict";var r=n(16),i=n(20),o=n(26),a=n(17),c=n(24),u=n(41),s=n(22);r({target:"Set",proto:!0,real:!0,forced:i},{intersection:function(e){var t=a(this),n=new(u(t,o("Set"))),r=c(t.has),i=c(n.add);return s(e,(function(e){r.call(t,e)&&i.call(n,e)})),n}})},156:function(e,t,n){"use strict";var r=n(16),i=n(20),o=n(17),a=n(24),c=n(22);r({target:"Set",proto:!0,real:!0,forced:i},{isDisjointFrom:function(e){var t=o(this),n=a(t.has);return!c(e,(function(e,r){if(!0===n.call(t,e))return r()}),{INTERRUPTED:!0}).stopped}})},157:function(e,t,n){"use strict";var r=n(16),i=n(20),o=n(26),a=n(17),c=n(24),u=n(74),s=n(22);r({target:"Set",proto:!0,real:!0,forced:i},{isSubsetOf:function(e){var t=u(this),n=a(e),r=n.has;return"function"!=typeof r&&(n=new(o("Set"))(e),r=c(n.has)),!s(t,(function(e,t){if(!1===r.call(n,e))return t()}),{IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},158:function(e,t,n){"use strict";var r=n(16),i=n(20),o=n(17),a=n(24),c=n(22);r({target:"Set",proto:!0,real:!0,forced:i},{isSupersetOf:function(e){var t=o(this),n=a(t.has);return!c(e,(function(e,r){if(!1===n.call(t,e))return r()}),{INTERRUPTED:!0}).stopped}})},159:function(e,t,n){"use strict";var r=n(16),i=n(20),o=n(17),a=n(38),c=n(22);r({target:"Set",proto:!0,real:!0,forced:i},{join:function(e){var t=o(this),n=a(t),r=void 0===e?",":String(e),i=[];return c(n,i.push,{that:i,IS_ITERATOR:!0}),i.join(r)}})},16:function(e,t,n){"use strict";var r=n(27),i=n(111).f,o=n(113),a=n(45),c=n(25),u=n(33),s=n(31),d=function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,f,l,p,g,b,v,h,y=e.target,m=e.global,O=e.stat,E=e.proto,j=m?r:O?r[y]:(r[y]||{}).prototype,S=m?a:a[y]||(a[y]={}),A=S.prototype;for(l in t)n=!o(m?l:y+(O?".":"#")+l,e.forced)&&j&&s(j,l),g=S[l],n&&(b=e.noTargetGet?(h=i(j,l))&&h.value:j[l]),p=n&&b?b:t[l],n&&typeof g==typeof p||(v=e.bind&&n?c(p,r):e.wrap&&n?d(p):E&&"function"==typeof p?c(Function.call,p):p,(e.sham||p&&p.sham||g&&g.sham)&&u(v,"sham",!0),S[l]=v,E&&(s(a,f=y+"Prototype")||u(a,f,{}),a[f][l]=p,e.real&&A&&!A[l]&&u(A,l,p)))}},160:function(e,t,n){"use strict";var r=n(16),i=n(20),o=n(26),a=n(17),c=n(24),u=n(25),s=n(41),d=n(38),f=n(22);r({target:"Set",proto:!0,real:!0,forced:i},{map:function(e){var t=a(this),n=d(t),r=u(e,arguments.length>1?arguments[1]:void 0,3),i=new(s(t,o("Set"))),l=c(i.add);return f(n,(function(e){l.call(i,r(e,e,t))}),{IS_ITERATOR:!0}),i}})},161:function(e,t,n){"use strict";var r=n(16),i=n(20),o=n(17),a=n(24),c=n(38),u=n(22);r({target:"Set",proto:!0,real:!0,forced:i},{reduce:function(e){var t=o(this),n=c(t),r=arguments.length<2,i=r?void 0:arguments[1];if(a(e),u(n,(function(n){r?(r=!1,i=n):i=e(i,n,n,t)}),{IS_ITERATOR:!0}),r)throw TypeError("Reduce of empty set with no initial value");return i}})},162:function(e,t,n){"use strict";var r=n(16),i=n(20),o=n(17),a=n(25),c=n(38),u=n(22);r({target:"Set",proto:!0,real:!0,forced:i},{some:function(e){var t=o(this),n=c(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return u(n,(function(e,n){if(r(e,e,t))return n()}),{IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},163:function(e,t,n){"use strict";var r=n(16),i=n(20),o=n(26),a=n(17),c=n(24),u=n(41),s=n(22);r({target:"Set",proto:!0,real:!0,forced:i},{symmetricDifference:function(e){var t=a(this),n=new(u(t,o("Set")))(t),r=c(n.delete),i=c(n.add);return s(e,(function(e){r.call(n,e)||i.call(n,e)})),n}})},164:function(e,t,n){"use strict";var r=n(16),i=n(20),o=n(26),a=n(17),c=n(24),u=n(41),s=n(22);r({target:"Set",proto:!0,real:!0,forced:i},{union:function(e){var t=a(this),n=new(u(t,o("Set")))(t);return s(e,c(n.add),{that:n}),n}})},165:function(e,t,n){n(100),n(166);var r=n(45);e.exports=r.Array.from},166:function(e,t,n){var r=n(16),i=n(167);r({target:"Array",stat:!0,forced:!n(170)((function(e){Array.from(e)}))},{from:i})},167:function(e,t,n){"use strict";var r=n(25),i=n(53),o=n(168),a=n(93),c=n(54),u=n(169),s=n(58);e.exports=function(e){var t,n,d,f,l,p,g=i(e),b="function"==typeof this?this:Array,v=arguments.length,h=v>1?arguments[1]:void 0,y=void 0!==h,m=s(g),O=0;if(y&&(h=r(h,v>2?arguments[2]:void 0,2)),null==m||b==Array&&a(m))for(n=new b(t=c(g.length));t>O;O++)p=y?h(g[O],O):g[O],u(n,O,p);else for(l=(f=m.call(g)).next,n=new b;!(d=l.call(f)).done;O++)p=y?o(f,h,[d.value,O],!0):d.value,u(n,O,p);return n.length=O,n}},168:function(e,t,n){var r=n(17),i=n(94);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){throw i(e),t}}},169:function(e,t,n){"use strict";var r=n(63),i=n(35),o=n(44);e.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},17:function(e,t,n){var r=n(30);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},170:function(e,t,n){var r=n(23)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(e){}return n}},171:function(e,t){e.exports=function e(t){var n=Array.isArray(t)?[]:{};for(var r in t){var i=t[r];n[r]=i&&"object"==typeof i?e(i):i}return n}},172:function(e,t,n){"use strict";t.a=function(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:i;return e===i?n:e}},173:function(e,t,n){"use strict";t.a=function(e,t,n){t.split&&(t=t.split("."));for(var r,i=0,o=t.length,a=e;i<o;++i)r=a[t[i]],a=a[t[i]]=i===o-1?n:null!=r?r:!~t[i+1].indexOf(".")&&+t[i+1]>-1?[]:{}}},174:function(e,t){
/*
* @license MIT
* Fun Hooks v0.9.10
* (c) @snapwich
*/
c.SYNC=1,c.ASYNC=2,c.QUEUE=4;var n=Object.freeze({useProxy:!0,ready:0}),r=new WeakMap,i="2,1,0"===[1].reduce((function(e,t,n){return[e,t,n]}),2).toString()?Array.prototype.reduce:function(e,t){var n,r=Object(this),i=r.length>>>0,o=0;if(t)n=t;else{for(;o<i&&!(o in r);)o++;n=r[o++]}for(;o<i;)o in r&&(n=e(n,r[o],o,r)),o++;return n};function o(e,t){return Array.prototype.slice.call(e,t)}var a=Object.assign||function(e){return i.call(o(arguments,1),(function(e,t){return t&&Object.keys(t).forEach((function(n){e[n]=t[n]})),e}),e)};function c(e){var t,u={},s=[];function d(e,t){return"function"==typeof e?g.call(null,"sync",e,t):"string"==typeof e&&"function"==typeof t?g.apply(null,arguments):"object"==typeof e?f.apply(null,arguments):void 0}function f(e,t,n){var r=!0;void 0===t&&(t=Object.getOwnPropertyNames(e),r=!1);var i={},o=["constructor"];do{(t=t.filter((function(t){return!("function"!=typeof e[t]||-1!==o.indexOf(t)||t.match(/^_/))}))).forEach((function(t){var r=t.split(":"),o=r[0],a=r[1]||"sync";if(!i[o]){var c=e[o];i[o]=e[o]=g(a,c,n?[n,o]:void 0)}})),e=Object.getPrototypeOf(e)}while(r&&e);return i}function l(e){var n=Array.isArray(e)?e:e.split(".");return i.call(n,(function(r,i,o){var a=r[i],c=!1;return a||(o===n.length-1?(t||s.push((function(){c||console.warn("fun-hooks: referenced '"+e+"' but it was never created")})),r[i]=p((function(e){r[i]=e,c=!0}))):r[i]={})}),u)}function p(e){var t=[],n=[],i=function(){},o={before:function(e,n){return u.call(this,t,"before",e,n)},after:function(e,t){return u.call(this,n,"after",e,t)},getHooks:function(e){var r=t.concat(n);"object"==typeof e&&(r=r.filter((function(t){return Object.keys(e).every((function(n){return t[n]===e[n]}))})));try{a(r,{remove:function(){return r.forEach((function(e){e.remove()})),this}})}catch(e){console.error("error adding `remove` to array, did you modify Array.prototype?")}return r},removeAll:function(){return this.getHooks().remove()}},c={install:function(r,o,a){this.type=r,i=a,a(t,n),e&&e(o)}};return r.set(o.after,c),o;function u(e,r,o,a){var c={hook:o,type:r,priority:a||10,remove:function(){var r=e.indexOf(c);-1!==r&&(e.splice(r,1),i(t,n))}};return e.push(c),e.sort((function(e,t){return t.priority-e.priority})),i(t,n),this}}function g(n,i,u){var d=i.after&&r.get(i.after);if(d){if(d.type!==n)throw"fun-hooks: recreated hookable with different type";return i}var f,g,b=u?l(u):p(),v={get:function(e,t){return b[t]||Reflect.get.apply(Reflect,arguments)}};return t||s.push(h),e.useProxy&&"function"==typeof Proxy&&Proxy.revocable?g=new Proxy(i,v):a(g=function(){return v.apply?v.apply(i,this,o(arguments)):i.apply(this,arguments)},b),r.get(g.after).install(n,g,(function(e,t){var r,i=[];e.length||t.length?(e.forEach(a),r=i.push(void 0)-1,t.forEach(a),f=function(e,t,a){var c,u=0,s="async"===n&&"function"==typeof a[a.length-1]&&a.pop();function d(e){"sync"===n?c=e:s&&s.apply(null,arguments)}function f(e){if(i[u]){var r=o(arguments);return f.bail=d,r.unshift(f),i[u++].apply(t,r)}"sync"===n?c=e:s&&s.apply(null,arguments)}return i[r]=function(){var r=o(arguments,1);"async"===n&&s&&(delete f.bail,r.push(f));var i=e.apply(t,r);"sync"===n&&f(i)},f.apply(null,a),c}):f=void 0;function a(e){i.push(e.hook)}h()})),g;function h(){!t&&("sync"!==n||e.ready&c.SYNC)&&("async"!==n||e.ready&c.ASYNC)?"sync"!==n&&e.ready&c.QUEUE?v.apply=function(){var e=arguments;s.push((function(){g.apply(e[1],e[2])}))}:v.apply=function(){throw"fun-hooks: hooked function not ready"}:v.apply=f}}return(e=a({},n,e)).ready?d.ready=function(){t=!0,function(e){for(var t;t=e.shift();)t()}(s)}:t=!0,d.get=l,d}e.exports=c},175:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.a=function(e){r(this,{getAuction:function(t){var n=t.auctionId;if(null!=n)return e().find((function(e){return e.getAuctionId()===n}))},getAdUnit:function(t){var n=t.transactionId;if(null!=n)return e().flatMap((function(e){return e.getAdUnits()})).find((function(e){return e.transactionId===n}))},getMediaTypes:function(e){var t=e.transactionId,n=e.requestId;if(null!=n){var r=this.getBidRequest({requestId:n});if(null!=r&&(null==t||r.transactionId===t))return r.mediaTypes}else if(null!=t){var i=this.getAdUnit({transactionId:t});if(null!=i)return i.mediaTypes}},getBidderRequest:function(t){var n=t.requestId,r=t.bidderRequestId;if(null!=n||null!=r){var i=e().flatMap((function(e){return e.getBidRequests()}));return null!=r&&(i=i.filter((function(e){return e.bidderRequestId===r}))),null==n?i[0]:i.find((function(e){return e.bids&&null!=e.bids.find((function(e){return e.bidId===n}))}))}},getBidRequest:function(t){var n=t.requestId;if(null!=n)return e().flatMap((function(e){return e.getBidRequests()})).flatMap((function(e){return e.bids})).find((function(e){return e&&e.bidId===n}))}})}},18:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(0),i=n(28),o=n(11),a=n.n(o),c=n(175),u=n(5);var s=function(){var e=[],t={};return t.addWinningBid=function(t){var n=a()(e,(function(e){return e.getAuctionId()===t.auctionId}));n?(t.status=u.BID_STATUS.RENDERED,n.addWinningBid(t)):Object(r.logWarn)("Auction not found when adding winning bid")},t.getAllWinningBids=function(){return e.map((function(e){return e.getWinningBids()})).reduce(r.flatten,[])},t.getBidsRequested=function(){return e.map((function(e){return e.getBidRequests()})).reduce(r.flatten,[])},t.getNoBids=function(){return e.map((function(e){return e.getNoBids()})).reduce(r.flatten,[])},t.getBidsReceived=function(){return e.map((function(e){if(e.getAuctionStatus()===i.a)return e.getBidsReceived()})).reduce(r.flatten,[]).filter((function(e){return e}))},t.getAllBidsForAdUnitCode=function(t){return e.map((function(e){return e.getBidsReceived()})).reduce(r.flatten,[]).filter((function(e){return e&&e.adUnitCode===t}))},t.getAdUnits=function(){return e.map((function(e){return e.getAdUnits()})).reduce(r.flatten,[])},t.getAdUnitCodes=function(){return e.map((function(e){return e.getAdUnitCodes()})).reduce(r.flatten,[]).filter(r.uniques)},t.createAuction=function(t){var n=t.adUnits,r=t.adUnitCodes,o=t.callback,a=t.cbTimeout,c=t.labels,u=t.auctionId,s=Object(i.k)({adUnits:n,adUnitCodes:r,callback:o,cbTimeout:a,labels:c,auctionId:u});return function(t){e.push(t)}(s),s},t.findBidByAdId=function(t){return a()(e.map((function(e){return e.getBidsReceived()})).reduce(r.flatten,[]),(function(e){return e.adId===t}))},t.getStandardBidderAdServerTargeting=function(){return Object(i.j)()[u.JSON_MAPPING.ADSERVER_TARGETING]},t.setStatusForBids=function(n,r){var i=t.findBidByAdId(n);if(i&&(i.status=r),i&&r===u.BID_STATUS.BID_TARGETING_SET){var o=a()(e,(function(e){return e.getAuctionId()===i.auctionId}));o&&o.setBidTargeting(i)}},t.getLastAuctionId=function(){return e.length&&e[e.length-1].getAuctionId()},t.clearAllAuctions=function(){e.length=0},t.index=new c.a((function(){return e})),t}()},19:function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return s})),t.d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.index,i=void 0===n?c.a.index:n,o=Object(r.deepAccess)(i.getMediaTypes(e),"video"),a=o&&Object(r.deepAccess)(o,"context"),u=i.getAdUnit(e);return d(e,u,o,a)},n.d(t,"c",(function(){return d}));n(9);var r=n(0),i=n(3),o=n(12),a=(n.n(o),n(8)),c=n(18),u="outstream",s="instream";var d=Object(a.b)("sync",(function(e,t,n,o){return!n||o===u||(i.b.getConfig("cache.url")||!e.vastXml||e.vastUrl?!(!e.vastUrl&&!e.vastXml):(Object(r.logError)('\n        This bid contains only vastXml and will not work when a prebid cache url is not specified.\n        Try enabling prebid cache with tmzr.setConfig({ cache: {url: "..."} });\n      '),!1))}),"checkVideoBidSetup")},2:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"d",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a}));var r="native",i="video",o="banner",a="adpod"},20:function(e,t){e.exports=!0},21:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(3),i=n(0);var o=function(e){function t(e){var t=r.b.getConfig("pageUrl");if(t)return t;try{var n=e.querySelector("link[rel='canonical']");if(null!==n)return n.href}catch(e){}return null}return function(){var n,o,a,c=[],u=function(e){try{if(!e.location.ancestorOrigins)return;return e.location.ancestorOrigins}catch(e){}}(e),s=r.b.getConfig("maxNestedIframes"),d=!1,f=0,l=!1,p=!1;do{var g=n,b=p,v=void 0,h=!1,y=null;p=!1,n=n?n.parent:e;try{v=n.location.href||null}catch(e){h=!0}if(h)if(b){var m=g.context;try{o=y=m.sourceUrl,l=!0,n===e.top&&(d=!0),m.canonicalUrl&&(a=m.canonicalUrl)}catch(e){}}else{Object(i.logWarn)("Trying to access cross domain iframe. Continuing without referrer and location");try{var O=g.document.referrer;O&&(y=O,n===e.top&&(d=!0))}catch(e){}!y&&u&&u[f-1]&&(y=u[f-1]),y&&!l&&(o=y)}else{if(v&&(o=y=v,l=!1,n===e.top)){d=!0;var E=t(n.document);E&&(a=E)}n.context&&n.context.sourceUrl&&(p=!0)}c.push(y),f++}while(n!==e.top&&f<s);return c.reverse(),{referer:o||null,reachedTop:d,isAmp:l,numIframes:f-1,stack:c,canonicalUrl:a||null}}}(window)},22:function(e,t,n){var r=n(17),i=n(93),o=n(54),a=n(25),c=n(58),u=n(94),s=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var d,f,l,p,g,b,v,h=n&&n.that,y=!(!n||!n.AS_ENTRIES),m=!(!n||!n.IS_ITERATOR),O=!(!n||!n.INTERRUPTED),E=a(t,h,1+y+O),j=function(e){return d&&u(d),new s(!0,e)},S=function(e){return y?(r(e),O?E(e[0],e[1],j):E(e[0],e[1])):O?E(e,j):E(e)};if(m)d=e;else{if("function"!=typeof(f=c(e)))throw TypeError("Target is not iterable");if(i(f)){for(l=0,p=o(e.length);p>l;l++)if((g=S(e[l]))&&g instanceof s)return g;return new s(!1)}d=f.call(e)}for(b=d.next;!(v=b.call(d)).done;){try{g=S(v.value)}catch(e){throw u(d),e}if("object"==typeof g&&g&&g instanceof s)return g}return new s(!1)}},227:function(e,t,n){n(228);var r=n(56);e.exports=r("Array","findIndex")},228:function(e,t,n){"use strict";var r=n(16),i=n(64).findIndex,o=n(55),a="findIndex",c=!0;a in[]&&Array(1).findIndex((function(){c=!1})),r({target:"Array",proto:!0,forced:c},{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o(a)},23:function(e,t,n){var r=n(27),i=n(88),o=n(31),a=n(67),c=n(89),u=n(119),s=i("wks"),d=r.Symbol,f=u?d:d&&d.withoutSetter||a;e.exports=function(e){return o(s,e)&&(c||"string"==typeof s[e])||(c&&o(d,e)?s[e]=d[e]:s[e]=f("Symbol."+e)),s[e]}},237:function(e,t,n){"use strict";t.a=function(){window.addEventListener("message",O,!1)};var r=n(10),i=n.n(r),o=n(47),a=n(5),c=n.n(a),u=n(0),s=n(18),d=n(11),f=n.n(d),l=n(13),p=n(12),g=n.n(p),b=n(3),v=n(104),h=c.a.EVENTS.BID_WON,y=c.a.EVENTS.STALE_RENDER,m={"Prebid Request":function(e,t,n){if(null==n)return void Object(v.a)({reason:c.a.AD_RENDER_FAILED_REASON.CANNOT_FIND_AD,message:"Cannot find ad '".concat(t.adId,"' for cross-origin render request"),id:t.adId});if(n.status===c.a.BID_STATUS.RENDERED&&(Object(u.logWarn)("Ad id ".concat(n.adId," has been rendered before")),i.a.emit(y,n),Object(u.deepAccess)(b.b.getConfig("auctionOptions"),"suppressStaleRender")))return;try{!function(e,t){var n=e.adId,r=e.ad,i=e.adUrl,o=e.width,a=e.height,c=e.renderer,s=e.cpm;Object(l.c)(c)?Object(l.b)(c,e):n&&(E(e),t({message:"Prebid Response",ad:Object(u.replaceAuctionPrice)(r,s),adUrl:Object(u.replaceAuctionPrice)(i,s),adId:n,width:o,height:a}))}(n,e)}catch(e){return void Object(v.a)({reason:c.a.AD_RENDER_FAILED_REASON.EXCEPTION,message:e.message,id:t.adId,bid:n})}s.a.addWinningBid(n),i.a.emit(h,n)},"Prebid Native":function(e,t,n){if(null==n)return void Object(u.logError)("Cannot find ad '".concat(t.adId,"' for x-origin event request"));switch(t.action){case"assetRequest":e(Object(o.e)(t,n));break;case"allAssetRequest":e(Object(o.d)(t,n));break;case"resizeNativeHeight":n.height=t.height,n.width=t.width,E(n);break;default:if("click"===Object(o.c)(t,n))return;s.a.addWinningBid(n),i.a.emit(h,n)}},"Prebid Event":function(e,t,n){if(null==n)return void Object(u.logError)("Cannot find ad '".concat(t.adId,"' for x-origin event request"));if(n.status!==c.a.BID_STATUS.RENDERED)return void Object(u.logWarn)("Received x-origin event request without corresponding render request for ad '".concat(t.adId,"'"));switch(t.event){case c.a.EVENTS.AD_RENDER_FAILED:Object(v.a)({bid:n,id:t.adId,reason:t.info.reason,message:t.info.message});break;case c.a.EVENTS.AD_RENDER_SUCCEEDED:Object(v.b)({doc:null,bid:n,id:t.adId});break;default:Object(u.logError)("Received x-origin event request for unsupported event: '".concat(t.event,"' (adId: '").concat(t.adId,"')"))}}};function O(e){var t=e.message?"message":"data",n={};try{n=JSON.parse(e[t])}catch(e){return}if(n&&n.adId&&n.message){var r=f()(s.a.getBidsReceived(),(function(e){return e.adId===n.adId}));m.hasOwnProperty(n.message)&&m[n.message](function(e){return null==e.origin&&0===e.ports.length?function(){var e="Cannot post message to a frame with null origin. Please update creatives to use MessageChannel, see https://github.com/prebid/Prebid.js/issues/7870";throw Object(u.logError)(e),new Error(e)}:e.ports.length>0?function(t){e.ports[0].postMessage(JSON.stringify(t))}:function(t){e.source.postMessage(JSON.stringify(t),e.origin)}}(e),n,r)}}function E(e){var t=e.adId,n=e.adUnitCode,r=e.width,i=e.height;["div","iframe"].forEach((function(e){var o=function(e){var r=function(e,t){return Object(u.isGptPubadsDefined)()?function(e){var t=f()(window.googletag.pubads().getSlots(),(function(t){return f()(t.getTargetingKeys(),(function(n){return g()(t.getTargeting(n),e)}))}));return t?t.getSlotElementId():null}(e):Object(u.isApnGetTagDefined)()?function(e){var t=window.apntag.getTag(e);return t&&t.targetId}(t):t}(t,n),i=document.getElementById(r);return i&&i.querySelector(e)}(e+':not([style*="display: none"])');if(o){var a=o.style;a.width=r+"px",a.height=i+"px"}else Object(u.logWarn)("Unable to locate matching page element for adUnitCode ".concat(n,".  Can't resize it to ad's dimensions.  Please review setup."))}))}},24:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},25:function(e,t,n){var r=n(24);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},26:function(e,t,n){var r=n(45),i=n(27),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},27:function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(t,n(37))},28:function(e,t,n){"use strict";n.d(t,"b",(function(){return T})),n.d(t,"a",(function(){return I})),t.k=function(e){var t,n,i,o,a=e.adUnits,c=e.adUnitCodes,s=e.callback,d=e.cbTimeout,f=e.labels,l=e.auctionId,p=a,b=f,v=c,y=[],m=[],O=[],B=l||Object(r.generateUUID)(),N=s,q=d,M=[],G=new Set;function z(){return{auctionId:B,timestamp:t,auctionEnd:n,auctionStatus:i,adUnits:p,adUnitCodes:v,labels:b,bidderRequests:y,noBids:O,bidsReceived:m,winningBids:M,timeout:q}}function L(e,t){if(t&&clearTimeout(o),void 0===n){var c=[];e&&(Object(r.logMessage)("Auction ".concat(B," timedOut")),s=G,(c=y.map((function(e){return(e.bids||[]).filter((function(e){return!s.has(e.bidder)}))})).reduce(r.flatten,[]).map((function(e){return{bidId:e.bidId,bidder:e.bidder,adUnitCode:e.adUnitCode,auctionId:e.auctionId}}))).length&&S.emit(A.EVENTS.BID_TIMEOUT,c)),i=I,n=Date.now(),S.emit(A.EVENTS.AUCTION_END,z()),U(p,(function(){try{if(null!=N){var t=v,n=m.filter(r.bind.call(r.adUnitsFilter,this,t)).reduce(W,{});N.apply(tmzr,[n,e,B]),N=null}}catch(e){Object(r.logError)("Error executing bidsBackHandler",null,e)}finally{c.length&&j.callTimedOutBidders(a,c,q);var i=u.b.getConfig("userSync")||{};i.enableOverride||E(i.syncDelay)}}))}var s}function F(){u.b.resetBidder(),Object(r.logInfo)("Bids Received for Auction with id: ".concat(B),m),i=I,L(!1,!0)}function V(e){G.add(e)}function H(e){var t=this;e.forEach((function(e){var t;t=e,y=y.concat(t)}));var n={},a={bidRequests:e,run:function(){var a,d;a=L.bind(null,!0),d=setTimeout(a,q),o=d,i=T,S.emit(A.EVENTS.AUCTION_INIT,z());var f=function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).index,i=void 0===n?h.a.index:n,o=0,a=!1,c=new Set,s={},d={};function f(e,t){null==d[e]&&(d[e]=Promise.resolve()),d[e]=d[e].then((function(){return Promise.resolve(t).catch((function(){}))}))}function l(e,n){var r=e.timeout;(null==r||r>t.getTimeout())&&(r=t.getTimeout());var i=t.getAuctionStart()+r-Date.now(),o=d[e.bidderRequestId],a=d[""];(null!=o||null!=a)&&i>0?Promise.race([new Promise((function(e){return setTimeout(e,i)})),Promise.resolve(a).then((function(){return o}))]).then(n):n()}function p(){o--,a&&0===o&&e()}function b(e,n){s[n.requestId]=!0,o++;var r=P({adUnitCode:e,bid:n,auctionId:t.getAuctionId()});"video"===r.mediaType?k(t,r,p):(D(t,r),p())}function v(){var n=this,i=t.getBidRequests(),d=u.b.getConfig("auctionOptions");if(c.add(n),d&&!Object(r.isEmpty)(d)){var f=d.secondaryBidders;f&&!i.every((function(e){return g()(f,e.bidderCode)}))&&(i=i.filter((function(e){return!g()(f,e.bidderCode)})))}a=i.every((function(e){return c.has(e)})),n.bids.forEach((function(e){s[e.bidId]||(t.addNoBid(e),S.emit(A.EVENTS.NO_BID,e))})),a&&0===o&&e()}return{addBidResponse:function(e,t){var n=i.getBidderRequest(t);f(n&&n.bidderRequestId||"",x.call({dispatch:b},e,t))},adapterDone:function(){l(this,v.bind(this))}}}(F,t);j.callBids(p,e,f.addBidResponse,f.adapterDone,{request:function(e,t){s(w,t),s(n,e),C[e]||(C[e]={SRA:!0,origin:t}),n[e]>1&&(C[e].SRA=!1)},done:function(e){w[e]--,R[0]&&c(R[0])&&R.shift()}},q,V)}};function c(e){var t=!0,n=u.b.getConfig("maxRequestsPerOrigin")||4;return e.bidRequests.some((function(e){var r=1,i=void 0!==e.src&&e.src===A.S2S.SRC?"s2s":e.bidderCode;return C[i]&&(!1===C[i].SRA&&(r=Math.min(e.bids.length,n)),w[C[i].origin]+r>n&&(t=!1)),!t})),t&&e.run(),t}function s(e,t){void 0===e[t]?e[t]=1:e[t]++}c(a)||(Object(r.logWarn)("queueing auction due to limited endpoint capacity"),R.push(a))}return{addBidReceived:function(e){m=m.concat(e)},addNoBid:function(e){O=O.concat(e)},executeCallback:L,callBids:function(){i="started",t=Date.now();var e=j.makeBidRequests(p,t,B,q,b);Object(r.logInfo)("Bids Requested for Auction with id: ".concat(B),e),e.length<1?(Object(r.logWarn)("No valid bid requests returned for auction"),F()):_.call({dispatch:H,context:this},e)},addWinningBid:function(e){M=M.concat(e),j.callBidWonBidder(e.bidder,e,a)},setBidTargeting:function(e){j.callSetTargetingBidder(e.bidder,e)},getWinningBids:function(){return M},getAuctionStart:function(){return t},getTimeout:function(){return q},getAuctionId:function(){return B},getAuctionStatus:function(){return i},getAdUnits:function(){return p},getAdUnitCodes:function(){return v},getBidRequests:function(){return y},getBidsReceived:function(){return m},getNoBids:function(){return O}}},n.d(t,"c",(function(){return x})),n.d(t,"e",(function(){return _})),t.g=B,t.d=D,n.d(t,"f",(function(){return N})),n.d(t,"i",(function(){return M})),n.d(t,"h",(function(){return G})),t.j=L;var r=n(0),i=n(49),o=n(47),a=n(103),c=n(13),u=n(3),s=n(61),d=n(8),f=n(11),l=n.n(f),p=n(12),g=n.n(p),b=n(19),v=n(2),h=n(18),y=n(42);function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(){return(O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var E=s.a.syncUsers,j=n(9).default,S=n(10),A=n(5),T="inProgress",I="completed";S.on(A.EVENTS.BID_ADJUSTMENT,(function(e){!function(e){var t=e.bidderCode,n=e.cpm,i=y.a.get(t||null,"bidCpmAdjustment");if(i&&"function"==typeof i)try{n=i(e.cpm,O({},e))}catch(e){Object(r.logError)("Error during bid adjustment","bidmanager.js",e)}n>=0&&(e.cpm=n)}(e)}));var w={},C={},R=[];var x=Object(d.b)("sync",(function(e,t){this.dispatch.call(null,e,t)}),"addBidResponse"),_=Object(d.b)("sync",(function(e){this.dispatch.call(this.context,e)}),"addBidderRequests"),U=Object(d.b)("async",(function(e,t){t&&t()}),"bidsBackCallback");function B(e,t){t.timeToRespond>e.getTimeout()+u.b.getConfig("timeoutBuffer")&&e.executeCallback(!0)}function D(e,t){!function(e){var t,n=!0===y.a.get(e.bidderCode,"allowZeroCpmBids")?e.cpm>=0:e.cpm>0;e.bidderCode&&(n||e.dealId)&&(t=function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).index,r=void 0===n?h.a.index:n;if(!t)return{};var i=r.getBidRequest(t),a={},c=L(t.mediaType,e);F(a,c,t,i),e&&y.a.getOwn(e,A.JSON_MAPPING.ADSERVER_TARGETING)&&(F(a,y.a.ownSettingsFor(e),t,i),t.sendStandardTargeting=y.a.get(e,"sendStandardTargeting"));t.native&&(a=O({},a,Object(o.f)(t)));return a}(e.bidderCode,e));e.adserverTargeting=O(e.adserverTargeting||{},t)}(t),S.emit(A.EVENTS.BID_RESPONSE,t),e.addBidReceived(t),B(e,t)}function k(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=i.index,a=void 0===o?h.a.index:o,c=!0,s=Object(r.deepAccess)(a.getMediaTypes({requestId:t.originalRequestId||t.requestId,transactionId:t.transactionId}),"video"),d=s&&Object(r.deepAccess)(s,"context");u.b.getConfig("cache.url")&&d!==b.b&&(!t.videoCacheKey||u.b.getConfig("cache.ignoreBidderCacheKey")?(c=!1,N(e,t,n,s)):t.vastUrl||(Object(r.logError)("videoCacheKey specified but not required vastUrl for video bid"),c=!1)),c&&(D(e,t),n())}var N=Object(d.b)("async",(function(e,t,n,i){Object(a.b)([t],(function(i,o){i?(Object(r.logWarn)("Failed to save to the video cache: ".concat(i,". Video bid must be discarded.")),B(e,t)):""===o[0].uuid?(Object(r.logWarn)("Supplied video cache key was already in use by Prebid Cache; caching attempt was rejected. Video bid must be discarded."),B(e,t)):(t.videoCacheKey=o[0].uuid,t.vastUrl||(t.vastUrl=Object(a.a)(t.videoCacheKey)),D(e,t),n())}))}),"callPrebidCache");function P(e){var t=e.adUnitCode,n=e.bid,o=e.auctionId,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=a.index,d=void 0===s?h.a.index:s,f=d.getBidderRequest(n),l=f&&f.start||n.requestTimestamp,p=O({},n,{auctionId:o,responseTimestamp:Object(r.timestamp)(),requestTimestamp:l,cpm:parseFloat(n.cpm)||0,bidder:n.bidderCode,adUnitCode:t});p.timeToRespond=p.responseTimestamp-p.requestTimestamp,S.emit(A.EVENTS.BID_ADJUSTMENT,p);var g=d.getAdUnit(p).renderer,b=p.mediaType,v=d.getMediaTypes(p),y=v&&v[b],E=y&&y.renderer,j=null;E&&E.url&&E.render&&(!0!==E.backupOnly||!n.renderer)?j=E:g&&g.url&&g.render&&(!0!==g.backupOnly||!n.renderer)&&(j=g),j&&(p.renderer=c.a.install({url:j.url}),p.renderer.setRender(j.render));var T=q(n.mediaType,v,u.b.getConfig("mediaTypePriceGranularity")),I=Object(i.a)(p.cpm,"object"===m(T)?T:u.b.getConfig("customPriceBucket"),u.b.getConfig("currency.granularityMultiplier"));return p.pbLg=I.low,p.pbMg=I.med,p.pbHg=I.high,p.pbAg=I.auto,p.pbDg=I.dense,p.pbCg=I.custom,p}function q(e,t,n){if(e&&n){if(e===v.d){var i=Object(r.deepAccess)(t,"".concat(v.d,".context"),"instream");if(n["".concat(v.d,"-").concat(i)])return n["".concat(v.d,"-").concat(i)]}return n[e]}}var M=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.index,r=void 0===n?h.a.index:n,i=q(e.mediaType,r.getMediaTypes(e),u.b.getConfig("mediaTypePriceGranularity")),o="string"==typeof e.mediaType&&i?"string"==typeof i?i:"custom":u.b.getConfig("priceGranularity");return o},G=function(e){return function(t){var n=e||M(t);return n===A.GRANULARITY_OPTIONS.AUTO?t.pbAg:n===A.GRANULARITY_OPTIONS.DENSE?t.pbDg:n===A.GRANULARITY_OPTIONS.LOW?t.pbLg:n===A.GRANULARITY_OPTIONS.MEDIUM?t.pbMg:n===A.GRANULARITY_OPTIONS.HIGH?t.pbHg:n===A.GRANULARITY_OPTIONS.CUSTOM?t.pbCg:void 0}};function z(e,t){return{key:e,val:"function"==typeof t?function(e,n){return t(e,n)}:function(e){return Object(r.getValue)(e,t)}}}function L(e,t){var n=A.TARGETING_KEYS,i=O({},y.a.settingsFor(null));if(i[A.JSON_MAPPING.ADSERVER_TARGETING]||(i[A.JSON_MAPPING.ADSERVER_TARGETING]=function(){var e=A.TARGETING_KEYS;return[z(e.BIDDER,"bidderCode"),z(e.AD_ID,"adId"),z(e.PRICE_BUCKET,G()),z(e.SIZE,"size"),z(e.DEAL,"dealId"),z(e.SOURCE,"source"),z(e.FORMAT,"mediaType"),z(e.ADOMAIN,(function(e){return e.meta&&e.meta.advertiserDomains&&e.meta.advertiserDomains.length>0?e.meta.advertiserDomains[0]:""}))]}()),"video"===e){var o=i[A.JSON_MAPPING.ADSERVER_TARGETING].slice();if(i[A.JSON_MAPPING.ADSERVER_TARGETING]=o,[n.UUID,n.CACHE_ID].forEach((function(e){void 0===l()(o,(function(t){return t.key===e}))&&o.push(z(e,"videoCacheKey"))})),u.b.getConfig("cache.url")&&(!t||!1!==y.a.get(t,"sendStandardTargeting"))){var a=Object(r.parseUrl)(u.b.getConfig("cache.url"));void 0===l()(o,(function(e){return e.key===n.CACHE_HOST}))&&o.push(z(n.CACHE_HOST,(function(e){return Object(r.deepAccess)(e,"adserverTargeting.".concat(n.CACHE_HOST))?e.adserverTargeting[n.CACHE_HOST]:a.hostname})))}}return i}function F(e,t,n,i){var o=t[A.JSON_MAPPING.ADSERVER_TARGETING];return n.size=n.getSize(),Object(r._each)(o,(function(o){var a=o.key,c=o.val;if(e[a]&&Object(r.logWarn)("The key: "+a+" is being overwritten"),Object(r.isFn)(c))try{c=c(n,i)}catch(e){Object(r.logError)("bidmanager","ERROR",e)}(void 0===t.suppressEmptyKeys||!0!==t.suppressEmptyKeys)&&a!==A.TARGETING_KEYS.DEAL||!Object(r.isEmptyStr)(c)&&null!=c?e[a]=c:Object(r.logInfo)("suppressing empty key '"+a+"' from adserver targeting")})),e}function W(e,t){return e[t.adUnitCode]||(e[t.adUnitCode]={bids:[]}),e[t.adUnitCode].bids.push(t),e}},29:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},3:function(e,t,n){"use strict";n.d(t,"a",(function(){return E})),n.d(t,"b",(function(){return T}));var r=n(49),i=n(11),o=n.n(i),a=n(12),c=n.n(a),u=n(91),s=n.n(u),d=n(0),f=["fpd"];function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function v(){return(v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var h=n(75),y=n(5),m="TRUE"===Object(d.getParameterByName)(y.DEBUG_MODE).toUpperCase(),O=window.location.origin,E="random",j={};j[E]=!0,j.fixed=!0;var S=E,A={LOW:"low",MEDIUM:"medium",HIGH:"high",AUTO:"auto",DENSE:"dense",CUSTOM:"custom"};var T=function(){var e,t,n,i=[],a=null;function u(){e={};var i={_debug:m,get debug(){return this._debug},set debug(e){this._debug=e},_bidderTimeout:3e3,get bidderTimeout(){return this._bidderTimeout},set bidderTimeout(e){this._bidderTimeout=e},_publisherDomain:O,get publisherDomain(){return this._publisherDomain},set publisherDomain(e){this._publisherDomain=e},_priceGranularity:A.MEDIUM,set priceGranularity(e){c(e)&&("string"==typeof e?this._priceGranularity=a(e)?e:A.MEDIUM:Object(d.isPlainObject)(e)&&(this._customPriceBucket=e,this._priceGranularity=A.CUSTOM,Object(d.logMessage)("Using custom price granularity")))},get priceGranularity(){return this._priceGranularity},_customPriceBucket:{},get customPriceBucket(){return this._customPriceBucket},_mediaTypePriceGranularity:{},get mediaTypePriceGranularity(){return this._mediaTypePriceGranularity},set mediaTypePriceGranularity(e){var t=this;this._mediaTypePriceGranularity=Object.keys(e).reduce((function(n,r){return c(e[r])?"string"==typeof e?n[r]=a(e[r])?e[r]:t._priceGranularity:Object(d.isPlainObject)(e)&&(n[r]=e[r],Object(d.logMessage)("Using custom price granularity for ".concat(r))):Object(d.logWarn)("Invalid price granularity for media type: ".concat(r)),n}),{})},_sendAllBids:false,get enableSendAllBids(){return this._sendAllBids},set enableSendAllBids(e){this._sendAllBids=e},_useBidCache:true,get useBidCache(){return this._useBidCache},set useBidCache(e){this._useBidCache=e},_deviceAccess:true,get deviceAccess(){return this._deviceAccess},set deviceAccess(e){this._deviceAccess=e},_bidderSequence:S,get bidderSequence(){return this._bidderSequence},set bidderSequence(e){j[e]?this._bidderSequence=e:Object(d.logWarn)("Invalid order: ".concat(e,". Bidder Sequence was not set."))},_timeoutBuffer:400,get timeoutBuffer(){return this._timeoutBuffer},set timeoutBuffer(e){this._timeoutBuffer=e},_disableAjaxTimeout:false,get disableAjaxTimeout(){return this._disableAjaxTimeout},set disableAjaxTimeout(e){this._disableAjaxTimeout=e},_maxNestedIframes:10,get maxNestedIframes(){return this._maxNestedIframes},set maxNestedIframes(e){this._maxNestedIframes=e},_auctionOptions:{},get auctionOptions(){return this._auctionOptions},set auctionOptions(e){(function(e){if(!Object(d.isPlainObject)(e))return Object(d.logWarn)("Auction Options must be an object"),!1;for(var t=0,n=Object.keys(e);t<n.length;t++){var r=n[t];if("secondaryBidders"!==r&&"suppressStaleRender"!==r)return Object(d.logWarn)("Auction Options given an incorrect param: ".concat(r)),!1;if("secondaryBidders"===r){if(!Object(d.isArray)(e[r]))return Object(d.logWarn)("Auction Options ".concat(r," must be of type Array")),!1;if(!e[r].every(d.isStr))return Object(d.logWarn)("Auction Options ".concat(r," must be only string")),!1}else if("suppressStaleRender"===r&&!Object(d.isBoolean)(e[r]))return Object(d.logWarn)("Auction Options ".concat(r," must be of type boolean")),!1}return!0})(e)&&(this._auctionOptions=e)}};function a(e){return o()(Object.keys(A),(function(t){return e===A[t]}))}function c(e){if(!e)return Object(d.logError)("Prebid Error: no value passed to `setPriceGranularity()`"),!1;if("string"==typeof e)a(e)||Object(d.logWarn)("Prebid Warning: setPriceGranularity was called with invalid setting, using `medium` as default.");else if(Object(d.isPlainObject)(e)&&!Object(r.b)(e))return Object(d.logError)("Invalid custom price value passed to `setPriceGranularity()`"),!1;return!0}t&&C(Object.keys(t).reduce((function(e,n){return t[n]!==i[n]&&(e[n]=i[n]||{}),e}),{})),t=i,n={}}function y(){if(a&&n&&Object(d.isPlainObject)(n[a])){var e=n[a],r=new s.a(Object.keys(t).concat(Object.keys(e)));return h(r).reduce((function(n,r){return void 0===e[r]?n[r]=t[r]:void 0===t[r]?n[r]=e[r]:Object(d.isPlainObject)(e[r])?n[r]=Object(d.mergeDeep)({},t[r],e[r]):n[r]=e[r],n}),{})}return v({},t)}function E(e){var t={};return Object.keys(e).forEach((function(n){var r="context"===n?"site":n;t[r]="site"===r||"user"===r?Object.keys(e[n]).reduce((function(t,r){return"data"===r?Object(d.mergeDeep)(t,{ext:{data:e[n][r]}}):Object(d.mergeDeep)(t,g({},r,e[n][r])),t}),{}):e[n]})),t}function T(e){var t={};return Object.keys(e).filter((function(e){return"context"===e})).forEach((function(n){Object.keys(e[n]).forEach((function(r){"data"===r?Object(d.mergeDeep)(t,{ext:{data:e[n][r]}}):"object"!==b(e[n][r])||Array.isArray(e[n][r])?Object(d.mergeDeep)(t,{ext:{data:g({},r.toLowerCase(),e[n][r])}}):Object.keys(e[n][r]).forEach((function(i){Object(d.mergeDeep)(t,{ext:{data:g({},r.toLowerCase(),g({},i.toLowerCase(),e[n][r][i]))}})}))}))})),t}function I(n){if(Object(d.isPlainObject)(n)){var r=Object.keys(n),i={};r.forEach((function(r){var o="fpd"===r?"ortb2":r,a="fpd"===r?E(n[r]):n[r];Object(d.isPlainObject)(e[o])&&Object(d.isPlainObject)(a)&&(a=v({},e[o],a)),i[o]=t[o]=a})),C(i)}else Object(d.logError)("setConfig options must be an object")}function w(e,t){var n=t;if("string"!=typeof e&&(n=e,e="*"),"function"==typeof n){var r={topic:e,callback:n};return i.push(r),function(){i.splice(i.indexOf(r),1)}}Object(d.logError)("listener must be a function")}function C(e){var t=Object.keys(e);i.filter((function(e){return c()(t,e.topic)})).forEach((function(t){t.callback(g({},t.topic,e[t.topic]))})),i.filter((function(e){return"*"===e.topic})).forEach((function(t){return t.callback(e)}))}function R(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{r(e),e.bidders.forEach((function(r){n[r]||(n[r]={}),Object.keys(e.config).forEach((function(i){var o="fpd"===i?"ortb2":i,a="fpd"===i?E(e.config[i]):e.config[i];if(Object(d.isPlainObject)(a)){var c=t?d.mergeDeep:Object.assign;n[r][o]=c({},n[r][o]||{},a)}else n[r][o]=a}))}))}catch(e){Object(d.logError)(e)}function r(e){if(!Object(d.isPlainObject)(e))throw"setBidderConfig bidder options must be an object";if(!Array.isArray(e.bidders)||!e.bidders.length)throw"setBidderConfig bidder options must contain a bidders list with at least 1 bidder";if(!Object(d.isPlainObject)(e.config))throw"setBidderConfig bidder options must contain a config object"}}function x(e,t){a=e;try{return t()}finally{_()}}function _(){a=null}return u(),{getCurrentBidder:function(){return a},resetBidder:_,getConfig:function(){if(arguments.length<=1&&"function"!=typeof(arguments.length<=0?void 0:arguments[0])){var e=arguments.length<=0?void 0:arguments[0];return e?Object(d.deepAccess)(y(),e):y()}return w.apply(void 0,arguments)},readConfig:function(){if(arguments.length<=1&&"function"!=typeof(arguments.length<=0?void 0:arguments[0])){var e=arguments.length<=0?void 0:arguments[0],t=Object(d.deepClone)(y());return e?Object(d.deepAccess)(t,e):t}return w.apply(void 0,arguments)},setConfig:I,mergeConfig:function(e){if(Object(d.isPlainObject)(e)){var t=Object.keys(e).reduce((function(t,n){var r=y()[n]||{};return t[n]=Object(d.mergeDeep)(r,e[n]),t}),{});return I(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t)),t}Object(d.logError)("mergeConfig input must be an object")},setDefaults:function(n){Object(d.isPlainObject)(e)?(v(e,n),v(t,n)):Object(d.logError)("defaults must be an object")},resetConfig:u,runWithBidder:x,callbackWithBidder:function(e){return function(t){return function(){if("function"==typeof t){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return x(e,d.bind.call.apply(d.bind,[t,this].concat(r)))}Object(d.logWarn)("config.callbackWithBidder callback is not a function")}}},setBidderConfig:R,getBidderConfig:function(){return n},mergeBidderConfig:function(e){return R(e,!0)},convertAdUnitFpd:function(e){var t=[];return e.forEach((function(e){e.fpd?(e.ortb2Imp?Object(d.mergeDeep)(e.ortb2Imp,T(e.fpd)):e.ortb2Imp=T(e.fpd),t.push(function(e){e.fpd;return p(e,f)}(e))):t.push(e)})),t},getLegacyFpd:function(e){if("object"===b(e)){var t={};return Object.keys(e).forEach((function(n){var r="site"===n?"context":n;t[r]="context"===r||"user"===r?Object.keys(e[n]).filter((function(e){return"data"!==e})).reduce((function(t,r){return"ext"===r?Object(d.mergeDeep)(t,e[n][r]):Object(d.mergeDeep)(t,g({},r,e[n][r])),t}),{}):e[n]})),t}},getLegacyImpFpd:function(e){if("object"===b(e)){var t={};return Object(d.deepAccess)(e,"ext.data")&&Object.keys(e.ext.data).forEach((function(n){"pbadslot"===n?Object(d.mergeDeep)(t,{context:{pbAdSlot:e.ext.data[n]}}):"adserver"===n?Object(d.mergeDeep)(t,{context:{adServer:e.ext.data[n]}}):Object(d.mergeDeep)(t,{context:{data:g({},n,e.ext.data[n])}})})),t}}}}()},30:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},31:function(e,t,n){var r=n(53),i={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return i.call(r(e),t)}},32:function(e,t,n){"use strict";t.a=function(e,t,n){if(!t||!e)return void Object(o.logError)("cannot load external script without url and moduleCode");if(!i()(c,t))return void Object(o.logError)("".concat(t," not whitelisted for loading external JavaScript"));if(a[e])return n&&"function"==typeof n&&(a[e].loaded?n():a[e].callbacks.push(n)),a[e].tag;a[e]={loaded:!1,tag:null,callbacks:[]},n&&"function"==typeof n&&a[e].callbacks.push(n);return Object(o.logWarn)("module ".concat(t," is loading external JavaScript")),function(t,n){var r=document.createElement("script");r.type="text/javascript",r.async=!0,a[e].tag=r,r.readyState?r.onreadystatechange=function(){"loaded"!==r.readyState&&"complete"!==r.readyState||(r.onreadystatechange=null,n())}:r.onload=function(){n()};return r.src=t,Object(o.insertElement)(r),r}(e,(function(){a[e].loaded=!0;try{for(var t=0;t<a[e].callbacks.length;t++)a[e].callbacks[t]()}catch(e){Object(o.logError)("Error executing callback","adloader.js:loadExternalScript",e)}}))};var r=n(12),i=n.n(r),o=n(0),a={},c=["adloox","criteo","outstream","adagio","browsi","brandmetrics","justtag"]},33:function(e,t,n){var r=n(34),i=n(35),o=n(44);e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},34:function(e,t,n){var r=n(29);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},35:function(e,t,n){var r=n(34),i=n(86),o=n(17),a=n(63),c=Object.defineProperty;t.f=r?c:function(e,t,n){if(o(e),t=a(t,!0),o(n),i)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},37:function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},38:function(e,t,n){var r=n(20),i=n(74);e.exports=r?i:function(e){return Set.prototype.values.call(e)}},39:function(e,t,n){"use strict";n.d(t,"a",(function(){return T})),n.d(t,"b",(function(){return I})),t.c=w,n.d(t,"d",(function(){return C}));var r=n(0),i=n(3),o=n(47),a=n(18),c=n(102),u=n(2),s=n(8),d=n(42),f=n(12),l=n.n(f),p=n(11),g=n.n(p);function b(){return(b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e){return function(e){if(Array.isArray(e))return y(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var m=n(5),O=[],E="targetingControls.allowTargetingKeys",j="targetingControls.addTargetingKeys",S='Only one of "'.concat(E,'" or "').concat(j,'" can be set'),A=Object.keys(m.TARGETING_KEYS).map((function(e){return m.TARGETING_KEYS[e]})),T={isBidNotExpired:function(e){return e.responseTimestamp+1e3*e.ttl-1e3>Object(r.timestamp)()},isUnusedBid:function(e){return e&&(e.status&&!l()([m.BID_STATUS.RENDERED],e.status)||!e.status)}},I=Object(s.b)("sync",(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!o){var a=[],c=i.b.getConfig("sendBidsControl.dealPrioritization"),u=Object(r.groupBy)(e,"adUnitCode");return Object.keys(u).forEach((function(e){var i=[],o=Object(r.groupBy)(u[e],"bidderCode");Object.keys(o).forEach((function(e){return i.push(o[e].reduce(t))})),n>0?(i=c?i.sort(w(!0)):i.sort((function(e,t){return t.cpm-e.cpm})),a.push.apply(a,h(i.slice(0,n)))):a.push.apply(a,h(i))})),a}return e}));function w(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,n){return void 0!==t.adserverTargeting.hb_deal&&void 0===n.adserverTargeting.hb_deal?-1:void 0===t.adserverTargeting.hb_deal&&void 0!==n.adserverTargeting.hb_deal?1:e?n.cpm-t.cpm:n.adserverTargeting.hb_pb-t.adserverTargeting.hb_pb}}var C=function(e){var t={},n={};function a(e,t){return e.adserverTargeting&&t&&(Object(r.isArray)(t)&&l()(t,e.adUnitCode)||"string"==typeof t&&e.adUnitCode===t)}function s(e,t){if(!0===i.b.getConfig("targetingControls.alwaysIncludeDeals")){var n=A.concat(o.a);return I(t,r.getHighestCpm).map((function(t){if(t.dealId&&a(t,e))return v({},t.adUnitCode,P(t,n.filter((function(e){return void 0!==t.adserverTargeting[e]}))))})).filter((function(e){return e}))}return[]}function f(e,t){var n=b({},m.TARGETING_KEYS,m.NATIVE_KEYS),i=Object.keys(n),o={};Object(r.logInfo)("allowTargetingKeys - allowed keys [ ".concat(t.map((function(e){return n[e]})).join(", ")," ]")),e.map((function(e){var r=Object.keys(e)[0],a=e[r].filter((function(e){var r=Object.keys(e)[0],a=0===i.filter((function(e){return 0===r.indexOf(n[e])})).length||g()(t,(function(e){var t=n[e];return 0===r.indexOf(t)}));return o[r]=!a,a}));e[r]=a}));var a=Object.keys(o).filter((function(e){return o[e]}));return Object(r.logInfo)("allowTargetingKeys - removed keys [ ".concat(a.join(", ")," ]")),e.filter((function(e){return e[Object.keys(e)[0]].length>0}))}function p(e,t){var n=Object(r.deepClone)(e);return Object.keys(n).map((function(e){return{adUnitCode:e,adserverTargeting:n[e]}})).sort(w()).reduce((function(e,i,o,a){var c,u=(c=i.adserverTargeting,Object.keys(c).reduce((function(e,t){return e+"".concat(t,"%3d").concat(encodeURIComponent(c[t]),"%26")}),""));o+1===a.length&&(u=u.slice(0,-3));var s=i.adUnitCode,d=u.length;return d<=t?(t-=d,Object(r.logInfo)("AdUnit '".concat(s,"' auction keys comprised of ").concat(d," characters.  Deducted from running threshold; new limit is ").concat(t),n[s]),e[s]=n[s]):Object(r.logWarn)("The following keys for adUnitCode '".concat(s,"' exceeded the current limit of the 'auctionKeyMaxChars' setting.\nThe key-set size was ").concat(d,", the current allotted amount was ").concat(t,".\n"),n[s]),o+1===a.length&&0===Object.keys(e).length&&Object(r.logError)("No auction targeting keys were permitted due to the setting in setConfig(targetingControls.auctionKeyMaxChars).  Please review setup and consider adjusting."),e}),{})}function y(e){return e.map((function(e){return v({},Object.keys(e)[0],e[Object.keys(e)[0]].map((function(e){return v({},Object.keys(e)[0],e[Object.keys(e)[0]].join(","))})).reduce((function(e,t){return b(t,e)}),{}))})).reduce((function(e,t){var n=Object.keys(t)[0];return e[n]=b({},e[n],t[n]),e}),{})}function C(t){return"string"==typeof t?[t]:Object(r.isArray)(t)?t:e.getAdUnitCodes()||[]}function R(){var t=e.getBidsReceived();if(i.b.getConfig("useBidCache")){var o=i.b.getConfig("bidCacheFilterFunction");"function"==typeof o&&(t=t.filter((function(e){return n[e.adUnitCode]===e.auctionId||!!o(e)})))}else t=t.filter((function(e){return n[e.adUnitCode]===e.auctionId}));return t=t.filter((function(e){return Object(r.deepAccess)(e,"video.context")!==u.a})).filter((function(e){return"banner"!==e.mediaType||Object(c.c)([e.width,e.height])})).filter(T.isUnusedBid).filter(T.isBidNotExpired),I(t,r.getOldestHighestCpmBid)}function x(e,n){var r=t.getWinningBids(e,n),i=_();return r=r.map((function(e){return v({},e.adUnitCode,Object.keys(e.adserverTargeting).filter((function(t){return void 0===e.sendStandardTargeting||e.sendStandardTargeting||-1===i.indexOf(t)})).reduce((function(t,n){var r=[e.adserverTargeting[n]],i=v({},n.substring(0,20),r);if(n===m.TARGETING_KEYS.DEAL){var o=v({},"".concat(n,"_").concat(e.bidderCode).substring(0,20),r);return[].concat(h(t),[i,o])}return[].concat(h(t),[i])}),[]))}))}function _(){return e.getStandardBidderAdServerTargeting().map((function(e){return e.key})).concat(A).filter(r.uniques)}function U(e,t,n,i){return Object.keys(t.adserverTargeting).filter(B()).forEach((function(n){e.length&&e.filter(function(e){return function(n){return n.adUnitCode===t.adUnitCode&&n.adserverTargeting[e]}}(n)).forEach(function(e){return function(n){Object(r.isArray)(n.adserverTargeting[e])||(n.adserverTargeting[e]=[n.adserverTargeting[e]]),n.adserverTargeting[e]=n.adserverTargeting[e].concat(t.adserverTargeting[e]).filter(r.uniques),delete t.adserverTargeting[e]}}(n))})),e.push(t),e}function B(){var e=_().concat(o.a);return function(t){return-1===e.indexOf(t)}}function D(e){return v({},e.adUnitCode,Object.keys(e.adserverTargeting).filter(B()).map((function(t){return v({},t.substring(0,20),[e.adserverTargeting[t]])})))}function k(e,t){return t.filter((function(t){return l()(e,t.adUnitCode)})).map((function(e){return b({},e)})).reduce(U,[]).map(D).filter((function(e){return e}))}function N(e,t){var n=A.concat(o.a),c=i.b.getConfig("sendBidsControl.bidLimit"),u=I(t,r.getHighestCpm,c),s=i.b.getConfig("targetingControls.allowSendAllBidsTargetingKeys"),d=s?s.map((function(e){return m.TARGETING_KEYS[e]})):n;return u.map((function(t){if(a(t,e))return v({},t.adUnitCode,P(t,n.filter((function(e){return void 0!==t.adserverTargeting[e]&&-1!==d.indexOf(e)}))))})).filter((function(e){return e}))}function P(e,t){return t.map((function(t){return v({},"".concat(t,"_").concat(e.bidderCode).substring(0,20),[e.adserverTargeting[t]])}))}function q(t){function n(e){return Object(r.deepAccess)(e,m.JSON_MAPPING.ADSERVER_TARGETING)}return e.getAdUnits().filter((function(e){return l()(t,e.code)&&n(e)})).map((function(e){return v({},e.code,function(e){var t=n(e);return Object.keys(t).map((function(e){return Object(r.isStr)(t[e])&&(t[e]=t[e].split(",").map((function(e){return e.trim()}))),Object(r.isArray)(t[e])||(t[e]=[t[e]]),v({},e,t[e])}))}(e))}))}return t.setLatestAuctionForAdUnit=function(e,t){n[e]=t},t.resetPresetTargeting=function(t,n){if(Object(r.isGptPubadsDefined)()){var i=C(t),o=e.getAdUnits().filter((function(e){return l()(i,e.code)})),a=O.reduce((function(e,t){return e[t]=null,e}),{});window.googletag.pubads().getSlots().forEach((function(e){var t=Object(r.isFn)(n)&&n(e);o.forEach((function(n){(n.code===e.getAdUnitPath()||n.code===e.getSlotElementId()||Object(r.isFn)(t)&&t(n.code))&&e.updateTargetingFromMap(a)}))}))}},t.resetPresetTargetingAST=function(e){C(e).forEach((function(e){var t=window.apntag.getTag(e);if(t&&t.keywords){var n=Object.keys(t.keywords),r={};n.forEach((function(e){l()(O,e.toLowerCase())||(r[e]=t.keywords[e])})),window.apntag.modifyTag(e,{keywords:r})}}))},t.getAllTargeting=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:R(),n=C(e),o=x(n,t).concat(k(n,t)).concat(i.b.getConfig("enableSendAllBids")?N(n,t):s(n,t)).concat(q(n));o.map((function(e){Object.keys(e).map((function(t){e[t].map((function(e){-1===O.indexOf(Object.keys(e)[0])&&(O=Object.keys(e).concat(O))}))}))}));var a=Object.keys(b({},m.DEFAULT_TARGETING_KEYS,m.NATIVE_KEYS)),c=i.b.getConfig(E),u=i.b.getConfig(j);if(null!=u&&null!=c)throw new Error(S);c=null!=u?a.concat(u):c||a,Array.isArray(c)&&c.length>0&&(o=f(o,c)),o=y(o);var d=i.b.getConfig("targetingControls.auctionKeyMaxChars");return d&&(Object(r.logInfo)("Detected 'targetingControls.auctionKeyMaxChars' was active for this auction; set with a limit of ".concat(d," characters.  Running checks on auction keys...")),o=p(o,d)),n.forEach((function(e){o[e]||(o[e]={})})),o},i.b.getConfig("targetingControls",(function(e){null!=Object(r.deepAccess)(e,E)&&null!=Object(r.deepAccess)(e,j)&&Object(r.logError)(S)})),t.setTargetingForGPT=function(e,t){window.googletag.pubads().getSlots().forEach((function(n){Object.keys(e).filter(t?t(n):Object(r.isAdUnitCodeMatchingSlot)(n)).forEach((function(t){Object.keys(e[t]).forEach((function(n){var r=e[t][n];"string"==typeof r&&-1!==r.indexOf(",")&&(r=r.split(",")),e[t][n]=r})),Object(r.logMessage)("Attempting to set targeting-map for slot: ".concat(n.getSlotElementId()," with targeting-map:"),e[t]),n.updateTargetingFromMap(e[t])}))}))},t.getWinningBids=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:R(),n=C(e);return t.filter((function(e){return l()(n,e.adUnitCode)})).filter((function(e){return!0===d.a.get(e.bidderCode,"allowZeroCpmBids")?e.cpm>=0:e.cpm>0})).map((function(e){return e.adUnitCode})).filter(r.uniques).map((function(e){return t.filter((function(t){return t.adUnitCode===e?t:null})).reduce(r.getHighestCpm)}))},t.setTargetingForAst=function(e){var n=t.getAllTargeting(e);try{t.resetPresetTargetingAST(e)}catch(e){Object(r.logError)("unable to reset targeting for AST"+e)}Object.keys(n).forEach((function(e){return Object.keys(n[e]).forEach((function(t){if(Object(r.logMessage)("Attempting to set targeting for targetId: ".concat(e," key: ").concat(t," value: ").concat(n[e][t])),Object(r.isStr)(n[e][t])||Object(r.isArray)(n[e][t])){var i={};t.search(/pt[0-9]/)<0?i[t.toUpperCase()]=n[e][t]:i[t]=n[e][t],window.apntag.setKeywords(e,i,{overrideKeyValue:!0})}}))}))},t.isApntagDefined=function(){if(window.apntag&&Object(r.isFn)(window.apntag.setKeywords))return!0},t}(a.a)},392:function(e,t,n){n(393);var r=n(56);e.exports=r("String","includes")},393:function(e,t,n){"use strict";var r=n(16),i=n(394),o=n(52);r({target:"String",proto:!0,forced:!n(396)("includes")},{includes:function(e){return!!~String(o(this)).indexOf(i(e),arguments.length>1?arguments[1]:void 0)}})},394:function(e,t,n){var r=n(395);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},395:function(e,t,n){var r=n(30),i=n(51),o=n(23)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},396:function(e,t,n){var r=n(23)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},4:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),t.b=u;var r=n(3),i=n(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var c=u();function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e3,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.request,c=t.done;return function(t,u,s){var d=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{var f,l=d.method||(s?"POST":"GET"),p=document.createElement("a");p.href=t;var g="object"===a(u)&&null!==u?u:{success:function(){Object(i.logMessage)("xhr success")},error:function(e){Object(i.logError)("xhr error",null,e)}};if("function"==typeof u&&(g.success=u),(f=new window.XMLHttpRequest).onreadystatechange=function(){if(4===f.readyState){"function"==typeof c&&c(p.origin);var e=f.status;e>=200&&e<300||304===e?g.success(f.responseText,f):g.error(f.statusText,f)}},r.b.getConfig("disableAjaxTimeout")||(f.ontimeout=function(){Object(i.logError)("  xhr timeout after ",f.timeout,"ms")}),"GET"===l&&s){var b=Object(i.parseUrl)(t,d);o(b.search,s),t=Object(i.buildUrl)(b)}f.open(l,t,!0),r.b.getConfig("disableAjaxTimeout")||(f.timeout=e),d.withCredentials&&(f.withCredentials=!0),Object(i._each)(d.customHeaders,(function(e,t){f.setRequestHeader(t,e)})),d.preflight&&f.setRequestHeader("X-Requested-With","XMLHttpRequest"),f.setRequestHeader("Content-Type",d.contentType||"text/plain"),"function"==typeof n&&n(p.origin),"POST"===l&&s?f.send(s):f.send()}catch(e){Object(i.logError)("xhr construction",e),"object"===a(u)&&null!==u&&u.error(e)}}}},40:function(e,t){e.exports={}},41:function(e,t,n){var r=n(17),i=n(24),o=n(23)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[o])?t:i(n)}},42:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(0),i=n(14);function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n}var c=n(5),u=new WeakSet;function s(e){return null==e?this.defaultScope:e}var d=new(function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),u.add(this),this.getSettings=t,this.defaultScope=n}var t,n,i;return t=e,(n=[{key:"get",value:function(e,t){var n=this.getOwn(e,t);return void 0===n&&(n=this.getOwn(null,t)),n}},{key:"getOwn",value:function(e,t){return e=a(this,u,s).call(this,e),Object(r.deepAccess)(this.getSettings(),"".concat(e,".").concat(t))}},{key:"getScopes",value:function(){var e=this;return Object.keys(this.getSettings()).filter((function(t){return t!==e.defaultScope}))}},{key:"settingsFor",value:function(e){return Object(r.mergeDeep)({},this.ownSettingsFor(null),this.ownSettingsFor(e))}},{key:"ownSettingsFor",value:function(e){return e=a(this,u,s).call(this,e),this.getSettings()[e]||{}}}])&&o(t.prototype,n),i&&o(t,i),e}())((function(){return Object(i.a)().bidderSettings||{}}),c.JSON_MAPPING.BD_SETTING_STANDARD)},43:function(e,t,n){"use strict";t.a=function(e,t){return new i(e,t)};var r=n(0);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.src,i=void 0===n?"client":n,o=t.bidder,a=void 0===o?"":o,c=t.bidId,u=t.transactionId,s=t.auctionId,d=i,f=e||0;function l(){switch(f){case 0:return"Pending";case 1:return"Bid available";case 2:return"Bid returned empty or error response";case 3:return"Bid timed out"}}this.bidderCode=a,this.width=0,this.height=0,this.statusMessage=l(),this.adId=Object(r.getUniqueIdentifierStr)(),this.requestId=c,this.transactionId=u,this.auctionId=s,this.mediaType="banner",this.source=d,this.getStatusCode=function(){return f},this.getSize=function(){return this.width+"x"+this.height},this.getIdentifiers=function(){return{src:this.source,bidder:this.bidderCode,bidId:this.requestId,transactionId:this.transactionId,auctionId:this.auctionId}}}},44:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},45:function(e,t){e.exports={}},46:function(e,t,n){var r,i,o,a=n(128),c=n(27),u=n(30),s=n(33),d=n(31),f=n(66),l=n(70),p=n(57),g="Object already initialized",b=c.WeakMap;if(a||f.state){var v=f.state||(f.state=new b),h=v.get,y=v.has,m=v.set;r=function(e,t){if(y.call(v,e))throw new TypeError(g);return t.facade=e,m.call(v,e,t),t},i=function(e){return h.call(v,e)||{}},o=function(e){return y.call(v,e)}}else{var O=l("state");p[O]=!0,r=function(e,t){if(d(e,O))throw new TypeError(g);return t.facade=e,s(e,O,t),t},i=function(e){return d(e,O)?e[O]:{}},o=function(e){return d(e,O)}}e.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},47:function(e,t,n){"use strict";n.d(t,"g",(function(){return l})),n.d(t,"a",(function(){return p})),t.b=function(e){e.forEach((function(e){var t=e.nativeParams||Object(r.deepAccess)(e,"mediaTypes.native");t&&(e.nativeParams=function(e){if(e&&e.type&&function(e){if(!e||!o()(Object.keys(g),e))return Object(r.logError)("".concat(e," nativeParam is not supported")),!1;return!0}(e.type))return g[e.type];return e}(t))}))},t.h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.index,i=void 0===n?a.a.index:n;if(!Object(r.deepAccess)(e,"native.clickUrl"))return!1;var c=i.getAdUnit(e).nativeParams;if(!c)return!0;var u=Object.keys(c).filter((function(e){return c[e].required})),s=Object.keys(e.native).filter((function(t){return e.native[t]}));return u.every((function(e){return o()(s,e)}))},t.c=function(e,t){var n;"click"===e.action?n=t.native&&t.native.clickTrackers:(n=t.native&&t.native.impressionTrackers,t.native&&t.native.javascriptTrackers&&Object(r.insertHtmlIntoIframe)(t.native.javascriptTrackers));return(n||[]).forEach(r.triggerPixel),e.action},t.f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.index,i=void 0===n?a.a.index:n,o={},c=i.getAdUnit(e);Object(r.deepAccess)(c,"nativeParams.rendererUrl")?e.native.rendererUrl=b(c.nativeParams.rendererUrl):Object(r.deepAccess)(c,"nativeParams.adTemplate")&&(e.native.adTemplate=b(c.nativeParams.adTemplate));var u=!1!==Object(r.deepAccess)(c,"nativeParams.sendTargetingKeys"),d=v(c),f=s(s({},e.native),e.native.ext);return delete f.ext,Object.keys(f).forEach((function(t){var n=d[t],i=b(e.native[t])||b(Object(r.deepAccess)(e,"native.ext.".concat(t)));if("adTemplate"!==t&&n&&i){var a=Object(r.deepAccess)(c,"nativeParams.".concat(t,".sendId"));if("boolean"!=typeof a&&(a=Object(r.deepAccess)(c,"nativeParams.ext.".concat(t,".sendId"))),a)i="".concat(n,":").concat(e.adId);var s=Object(r.deepAccess)(c,"nativeParams.".concat(t,".sendTargetingKeys"));"boolean"!=typeof s&&(s=Object(r.deepAccess)(c,"nativeParams.ext.".concat(t,".sendTargetingKeys"))),("boolean"==typeof s?s:u)&&(o[n]=i)}})),o},t.e=function(e,t){var n={message:"assetResponse",adId:e.adId,assets:[]};t.native.hasOwnProperty("adTemplate")&&(n.adTemplate=b(t.native.adTemplate));t.native.hasOwnProperty("rendererUrl")&&(n.rendererUrl=b(t.native.rendererUrl));return e.assets.forEach((function(e){var i=Object(r.getKeyByValue)(f.NATIVE_KEYS,e),o=b(t.native[i]);n.assets.push({key:i,value:o})})),n},t.d=function(e,t){var n={message:"assetResponse",adId:e.adId,assets:[]};return Object.keys(t.native).forEach((function(e,r){if("adTemplate"===e&&t.native[e])n.adTemplate=b(t.native[e]);else if("rendererUrl"===e&&t.native[e])n.rendererUrl=b(t.native[e]);else if("ext"===e)Object.keys(t.native[e]).forEach((function(r){if(t.native[e][r]){var i=b(t.native[e][r]);n.assets.push({key:r,value:i})}}));else if(t.native[e]&&f.NATIVE_KEYS.hasOwnProperty(e)){var i=b(t.native[e]);n.assets.push({key:e,value:i})}})),n};var r=n(0),i=n(12),o=n.n(i),a=n(18);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=n(5),l=[],p=Object.keys(f.NATIVE_KEYS).map((function(e){return f.NATIVE_KEYS[e]})),g={image:{image:{required:!0},title:{required:!0},sponsoredBy:{required:!0},clickUrl:{required:!0},body:{required:!1},icon:{required:!1}}};function b(e){return"object"===c(e)&&e.url?e.url:e}function v(e){var t={};return Object(r.deepAccess)(e,"nativeParams.ext")&&Object.keys(e.nativeParams.ext).forEach((function(e){t[e]="hb_native_".concat(e)})),s(s({},f.NATIVE_KEYS),t)}},479:function(e,t,n){n(480);var r=n(45);e.exports=r.URLSearchParams},480:function(e,t,n){"use strict";n(101);var r=n(16),i=n(26),o=n(481),a=n(72),c=n(96),u=n(60),s=n(97),d=n(46),f=n(69),l=n(31),p=n(25),g=n(59),b=n(17),v=n(30),h=n(71),y=n(44),m=n(74),O=n(58),E=n(23),j=i("fetch"),S=i("Headers"),A=E("iterator"),T="URLSearchParams",I="URLSearchParamsIterator",w=d.set,C=d.getterFor(T),R=d.getterFor(I),x=/\+/g,_=Array(4),U=function(e){return _[e-1]||(_[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},B=function(e){try{return decodeURIComponent(e)}catch(t){return e}},D=function(e){var t=e.replace(x," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(U(n--),B);return t}},k=/[!'()~]|%20/g,N={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},P=function(e){return N[e]},q=function(e){return encodeURIComponent(e).replace(k,P)},M=function(e,t){if(t)for(var n,r,i=t.split("&"),o=0;o<i.length;)(n=i[o++]).length&&(r=n.split("="),e.push({key:D(r.shift()),value:D(r.join("="))}))},G=function(e){this.entries.length=0,M(this.entries,e)},z=function(e,t){if(e<t)throw TypeError("Not enough arguments")},L=s((function(e,t){w(this,{type:I,iterator:m(C(e).entries),kind:t})}),"Iterator",(function(){var e=R(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n})),F=function(){f(this,F,T);var e,t,n,r,i,o,a,c,u,s=arguments.length>0?arguments[0]:void 0,d=this,p=[];if(w(d,{type:T,entries:p,updateURL:function(){},updateSearchParams:G}),void 0!==s)if(v(s))if("function"==typeof(e=O(s)))for(n=(t=e.call(s)).next;!(r=n.call(t)).done;){if((a=(o=(i=m(b(r.value))).next).call(i)).done||(c=o.call(i)).done||!o.call(i).done)throw TypeError("Expected sequence with length 2");p.push({key:a.value+"",value:c.value+""})}else for(u in s)l(s,u)&&p.push({key:u,value:s[u]+""});else M(p,"string"==typeof s?"?"===s.charAt(0)?s.slice(1):s:s+"")},W=F.prototype;c(W,{append:function(e,t){z(arguments.length,2);var n=C(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){z(arguments.length,1);for(var t=C(this),n=t.entries,r=e+"",i=0;i<n.length;)n[i].key===r?n.splice(i,1):i++;t.updateURL()},get:function(e){z(arguments.length,1);for(var t=C(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){z(arguments.length,1);for(var t=C(this).entries,n=e+"",r=[],i=0;i<t.length;i++)t[i].key===n&&r.push(t[i].value);return r},has:function(e){z(arguments.length,1);for(var t=C(this).entries,n=e+"",r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){z(arguments.length,1);for(var n,r=C(this),i=r.entries,o=!1,a=e+"",c=t+"",u=0;u<i.length;u++)(n=i[u]).key===a&&(o?i.splice(u--,1):(o=!0,n.value=c));o||i.push({key:a,value:c}),r.updateURL()},sort:function(){var e,t,n,r=C(this),i=r.entries,o=i.slice();for(i.length=0,n=0;n<o.length;n++){for(e=o[n],t=0;t<n;t++)if(i[t].key>e.key){i.splice(t,0,e);break}t===n&&i.push(e)}r.updateURL()},forEach:function(e){for(var t,n=C(this).entries,r=p(e,arguments.length>1?arguments[1]:void 0,3),i=0;i<n.length;)r((t=n[i++]).value,t.key,this)},keys:function(){return new L(this,"keys")},values:function(){return new L(this,"values")},entries:function(){return new L(this,"entries")}},{enumerable:!0}),a(W,A,W.entries),a(W,"toString",(function(){for(var e,t=C(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(q(e.key)+"="+q(e.value));return n.join("&")}),{enumerable:!0}),u(F,T),r({global:!0,forced:!o},{URLSearchParams:F}),o||"function"!=typeof j||"function"!=typeof S||r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,r,i=[e];return arguments.length>1&&(v(t=arguments[1])&&(n=t.body,g(n)===T&&((r=t.headers?new S(t.headers):new S).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=h(t,{body:y(0,String(n)),headers:y(0,r)}))),i.push(t)),j.apply(this,i)}}),e.exports={URLSearchParams:F,getState:C}},481:function(e,t,n){var r=n(29),i=n(23),o=n(20),a=i("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),o&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},49:function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return p}));var r=n(11),i=n.n(r),o=n(0),a={buckets:[{max:5,increment:.5}]},c={buckets:[{max:20,increment:.1}]},u={buckets:[{max:20,increment:.01}]},s={buckets:[{max:3,increment:.01},{max:8,increment:.05},{max:20,increment:.5}]},d={buckets:[{max:5,increment:.05},{max:10,increment:.1},{max:20,increment:.5}]};function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=parseFloat(e);return isNaN(r)&&(r=""),{low:""===r?"":l(e,a,n),med:""===r?"":l(e,c,n),high:""===r?"":l(e,u,n),auto:""===r?"":l(e,d,n),dense:""===r?"":l(e,s,n),custom:""===r?"":l(e,t,n)}}function l(e,t,n){var r="";if(!p(t))return r;var o=t.buckets.reduce((function(e,t){return e.max>t.max?e:t}),{max:0}),a=0,c=i()(t.buckets,(function(t){if(e>o.max*n){var i=t.precision;void 0===i&&(i=2),r=(t.max*n).toFixed(i)}else{if(e<=t.max*n&&e>=a*n)return t.min=a,t;a=t.max}}));return c&&(r=function(e,t,n){var r=void 0!==t.precision?t.precision:2,i=t.increment*n,o=t.min*n,a=Math.pow(10,r+2),c=(e*a-o*a)/(i*a),u=Math.floor(c)*i+o;return(u=Number(u.toFixed(10))).toFixed(r)}(e,c,n)),r}function p(e){if(Object(o.isEmpty)(e)||!e.buckets||!Array.isArray(e.buckets))return!1;var t=!0;return e.buckets.forEach((function(e){e.max&&e.increment||(t=!1)})),t}},5:function(e,t){e.exports={JSON_MAPPING:{PL_CODE:"code",PL_SIZE:"sizes",PL_BIDS:"bids",BD_BIDDER:"bidder",BD_ID:"paramsd",BD_PL_ID:"placementId",ADSERVER_TARGETING:"adserverTargeting",BD_SETTING_STANDARD:"standard"},DEBUG_MODE:"pbjs_debug",STATUS:{GOOD:1,NO_BID:2},CB:{TYPE:{ALL_BIDS_BACK:"allRequestedBidsBack",AD_UNIT_BIDS_BACK:"adUnitBidsBack",BID_WON:"bidWon",REQUEST_BIDS:"requestBids"}},EVENTS:{AUCTION_INIT:"auctionInit",AUCTION_END:"auctionEnd",BID_ADJUSTMENT:"bidAdjustment",BID_TIMEOUT:"bidTimeout",BID_REQUESTED:"bidRequested",BID_RESPONSE:"bidResponse",NO_BID:"noBid",BID_WON:"bidWon",BIDDER_DONE:"bidderDone",BIDDER_ERROR:"bidderError",SET_TARGETING:"setTargeting",BEFORE_REQUEST_BIDS:"beforeRequestBids",BEFORE_BIDDER_HTTP:"beforeBidderHttp",REQUEST_BIDS:"requestBids",ADD_AD_UNITS:"addAdUnits",AD_RENDER_FAILED:"adRenderFailed",AD_RENDER_SUCCEEDED:"adRenderSucceeded",TCF2_ENFORCEMENT:"tcf2Enforcement",AUCTION_DEBUG:"auctionDebug",BID_VIEWABLE:"bidViewable",STALE_RENDER:"staleRender"},AD_RENDER_FAILED_REASON:{PREVENT_WRITING_ON_MAIN_DOCUMENT:"preventWritingOnMainDocument",NO_AD:"noAd",EXCEPTION:"exception",CANNOT_FIND_AD:"cannotFindAd",MISSING_DOC_OR_ADID:"missingDocOrAdid"},EVENT_ID_PATHS:{bidWon:"adUnitCode"},GRANULARITY_OPTIONS:{LOW:"low",MEDIUM:"medium",HIGH:"high",AUTO:"auto",DENSE:"dense",CUSTOM:"custom"},TARGETING_KEYS:{BIDDER:"hb_bidder",AD_ID:"hb_adid",PRICE_BUCKET:"hb_pb",SIZE:"hb_size",DEAL:"hb_deal",SOURCE:"hb_source",FORMAT:"hb_format",UUID:"hb_uuid",CACHE_ID:"hb_cache_id",CACHE_HOST:"hb_cache_host",ADOMAIN:"hb_adomain"},DEFAULT_TARGETING_KEYS:{BIDDER:"hb_bidder",AD_ID:"hb_adid",PRICE_BUCKET:"hb_pb",SIZE:"hb_size",DEAL:"hb_deal",FORMAT:"hb_format",UUID:"hb_uuid",CACHE_HOST:"hb_cache_host"},NATIVE_KEYS:{title:"hb_native_title",body:"hb_native_body",body2:"hb_native_body2",privacyLink:"hb_native_privacy",privacyIcon:"hb_native_privicon",sponsoredBy:"hb_native_brand",image:"hb_native_image",icon:"hb_native_icon",clickUrl:"hb_native_linkurl",displayUrl:"hb_native_displayurl",cta:"hb_native_cta",rating:"hb_native_rating",address:"hb_native_address",downloads:"hb_native_downloads",likes:"hb_native_likes",phone:"hb_native_phone",price:"hb_native_price",salePrice:"hb_native_saleprice",rendererUrl:"hb_renderer_url",adTemplate:"hb_adTemplate"},S2S:{SRC:"s2s",DEFAULT_ENDPOINT:"https://prebid.adnxs.com/pbs/v1/openrtb2/auction",SYNCED_BIDDERS_KEY:"pbjsSyncs"},BID_STATUS:{BID_TARGETING_SET:"targetingSet",RENDERED:"rendered",BID_REJECTED:"bidRejected"}}},50:function(e,t,n){var r=n(85),i=n(52);e.exports=function(e){return r(i(e))}},51:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},52:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},53:function(e,t,n){var r=n(52);e.exports=function(e){return Object(r(e))}},54:function(e,t,n){var r=n(65),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},55:function(e,t){e.exports=function(){}},56:function(e,t,n){var r=n(26);e.exports=r},57:function(e,t){e.exports={}},58:function(e,t,n){var r=n(59),i=n(40),o=n(23)("iterator");e.exports=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},59:function(e,t,n){var r=n(68),i=n(51),o=n(23)("toStringTag"),a="Arguments"==i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:a?i(t):"Object"==(r=i(t))&&"function"==typeof t.callee?"Arguments":r}},60:function(e,t,n){var r=n(68),i=n(35).f,o=n(33),a=n(31),c=n(127),u=n(23)("toStringTag");e.exports=function(e,t,n,s){if(e){var d=n?e:e.prototype;a(d,u)||i(d,u,{configurable:!0,value:t}),s&&!r&&o(d,"toString",c)}}},61:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(0),i=n(3),o=n(12),a=n.n(o),c=n(7);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){c=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}i.b.setDefaults({userSync:Object(r.deepClone)({syncEnabled:!0,filterSettings:{image:{bidders:"*",filter:"include"}},syncsPerBidder:5,syncDelay:3e3,auctionDelay:0})});var f=Object(c.a)("usersync");var l=!Object(r.isSafariBrowser)()&&f.cookiesAreEnabled(),p=function(e){var t={},n={image:[],iframe:[]},o=new Set,c={},s={image:!0,iframe:!1},f=e.config;function l(){if(f.syncEnabled&&e.browserSupportsCookies){try{!function(){if(!s.iframe)return;p(n.iframe,(function(e){var t=u(e,2),i=t[0],o=t[1];Object(r.logMessage)("Invoking iframe user sync for bidder: ".concat(i)),Object(r.insertUserSyncIframe)(o),function(e,t){e.image=e.image.filter((function(e){return e[0]!==t}))}(n,i)}))}(),function(){if(!s.image)return;p(n.image,(function(e){var t=u(e,2),n=t[0],i=t[1];Object(r.logMessage)("Invoking image pixel user sync for bidder: ".concat(n)),Object(r.triggerPixel)(i)}))}()}catch(e){return Object(r.logError)("Error firing user syncs",e)}n={image:[],iframe:[]}}}function p(e,t){Object(r.shuffle)(e).forEach((function(e){t(e),o.add(e[0])}))}function g(e,t){var n=f.filterSettings;if(function(e,t){if(e.all&&e[t])return Object(r.logWarn)('Detected presence of the "filterSettings.all" and "filterSettings.'.concat(t,'" in userSync config.  You cannot mix "all" with "iframe/image" configs; they are mutually exclusive.')),!1;var n=e.all?e.all:e[t],i=e.all?"all":t;if(!n)return!1;var o=n.filter,a=n.bidders;if(o&&"include"!==o&&"exclude"!==o)return Object(r.logWarn)('UserSync "filterSettings.'.concat(i,".filter\" setting '").concat(o,"' is not a valid option; use either 'include' or 'exclude'.")),!1;if("*"!==a&&!(Array.isArray(a)&&a.length>0&&a.every((function(e){return Object(r.isStr)(e)&&"*"!==e}))))return Object(r.logWarn)('Detected an invalid setup in userSync "filterSettings.'.concat(i,".bidders\"; use either '*' (to represent all bidders) or an array of bidders.")),!1;return!0}(n,e)){s[e]=!0;var i=n.all?n.all:n[e],o="*"===i.bidders?[t]:i.bidders;return{include:function(e,t){return!a()(e,t)},exclude:function(e,t){return a()(e,t)}}[i.filter||"include"](o,t)}return!s[e]}return i.b.getConfig("userSync",(function(e){if(e.userSync){var t=e.userSync.filterSettings;Object(r.isPlainObject)(t)&&(t.image||t.all||(e.userSync.filterSettings.image={bidders:"*",filter:"include"}))}f=d(f,e.userSync)})),t.registerSync=function(e,i,a){return o.has(i)?Object(r.logMessage)('already fired syncs for "'.concat(i,'", ignoring registerSync call')):f.syncEnabled&&Object(r.isArray)(n[e])?i?0!==f.syncsPerBidder&&Number(c[i])>=f.syncsPerBidder?Object(r.logWarn)('Number of user syncs exceeded for "'.concat(i,'"')):t.canBidderRegisterSync(e,i)?(n[e].push([i,a]),void(c=function(e,t){return e[t]?e[t]+=1:e[t]=1,e}(c,i))):Object(r.logWarn)('Bidder "'.concat(i,'" not permitted to register their "').concat(e,'" userSync pixels.')):Object(r.logWarn)("Bidder is required for registering sync"):Object(r.logWarn)('User sync type "'.concat(e,'" not supported'))},t.syncUsers=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(e)return setTimeout(l,Number(e));l()},t.triggerUserSyncs=function(){f.enableOverride&&t.syncUsers()},t.canBidderRegisterSync=function(e,t){return!f.filterSettings||!g(e,t)},t}({config:i.b.getConfig("userSync"),browserSupportsCookies:l})},62:function(e,t,n){"use strict";t.a=function(e,t){o.adServers=o.adServers||{},o.adServers[e]=o.adServers[e]||{},Object.keys(t).forEach((function(n){o.adServers[e][n]?Object(i.logWarn)("Attempting to add an already registered function property ".concat(n," for AdServer ").concat(e,".")):o.adServers[e][n]=t[n]}))};var r=n(14),i=n(0),o=Object(r.a)()},63:function(e,t,n){var r=n(30);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},64:function(e,t,n){var r=n(25),i=n(85),o=n(53),a=n(54),c=n(114),u=[].push,s=function(e){var t=1==e,n=2==e,s=3==e,d=4==e,f=6==e,l=7==e,p=5==e||f;return function(g,b,v,h){for(var y,m,O=o(g),E=i(O),j=r(b,v,3),S=a(E.length),A=0,T=h||c,I=t?T(g,S):n||l?T(g,0):void 0;S>A;A++)if((p||A in E)&&(m=j(y=E[A],A,O),e))if(t)I[A]=m;else if(m)switch(e){case 3:return!0;case 5:return y;case 6:return A;case 2:u.call(I,y)}else switch(e){case 4:return!1;case 7:u.call(I,y)}return f?-1:s||d?d:I}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterOut:s(7)}},65:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},66:function(e,t,n){var r=n(27),i=n(116),o="__core-js_shared__",a=r[o]||i(o,{});e.exports=a},67:function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},68:function(e,t,n){var r={};r[n(23)("toStringTag")]="z",e.exports="[object z]"===String(r)},69:function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},7:function(e,t,n){"use strict";n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return d})),t.a=function(e){return s({moduleName:e,moduleType:"core"})},t.b=function(e,t){return s({gvlid:e,moduleName:t})};var r=n(8),i=n(0),o=n(12),a=n.n(o),c=["core","prebid-module"],u=[];function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.gvlid,n=e.moduleName,r=e.moduleType;function o(e){if(a()(c,r)){return e({valid:!0})}var o;return d(t,n,{hasEnforcementHook:!1},(function(t){if(t&&t.hasEnforcementHook)o=e(t);else{var n={hasEnforcementHook:!1,valid:Object(i.hasDeviceAccess)()};o=e(n)}})),o}var s=function(e,t,n,r,i,a){var c=function(o){if(o&&o.valid){var a=i&&""!==i?" ;domain=".concat(encodeURIComponent(i)):"",c=n&&""!==n?" ;expires=".concat(n):"",u=null!=r&&"none"==r.toLowerCase()?"; Secure":"";document.cookie="".concat(e,"=").concat(encodeURIComponent(t)).concat(c,"; path=/").concat(a).concat(r?"; SameSite=".concat(r):"").concat(u)}};if(!a||"function"!=typeof a)return o(c);u.push((function(){var e=o(c);a(e)}))},f=function(e,t){var n=function(t){if(t&&t.valid){var n=window.document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]*)\\s*(;|$)");return n?decodeURIComponent(n[2]):null}return null};if(!t||"function"!=typeof t)return o(n);u.push((function(){var e=o(n);t(e)}))},l=function(e){var t=function(e){if(e&&e.valid)try{return localStorage.setItem("prebid.cookieTest","1"),"1"===localStorage.getItem("prebid.cookieTest")}catch(e){}finally{try{localStorage.removeItem("prebid.cookieTest")}catch(e){}}return!1};if(!e||"function"!=typeof e)return o(t);u.push((function(){var n=o(t);e(n)}))},p=function(e){var t=function(e){return!(!e||!e.valid)&&(!!Object(i.checkCookieSupport)()||(window.document.cookie="prebid.cookieTest",-1!==window.document.cookie.indexOf("prebid.cookieTest")))};if(!e||"function"!=typeof e)return o(t);u.push((function(){var n=o(t);e(n)}))},g=function(e,t,n){var r=function(n){n&&n.valid&&h()&&window.localStorage.setItem(e,t)};if(!n||"function"!=typeof n)return o(r);u.push((function(){var e=o(r);n(e)}))},b=function(e,t){var n=function(t){return t&&t.valid&&h()?window.localStorage.getItem(e):null};if(!t||"function"!=typeof t)return o(n);u.push((function(){var e=o(n);t(e)}))},v=function(e,t){var n=function(t){t&&t.valid&&h()&&window.localStorage.removeItem(e)};if(!t||"function"!=typeof t)return o(n);u.push((function(){var e=o(n);t(e)}))},h=function(e){var t=function(e){if(e&&e.valid)try{return!!window.localStorage}catch(e){Object(i.logError)("Local storage api disabled")}return!1};if(!e||"function"!=typeof e)return o(t);u.push((function(){var n=o(t);e(n)}))},y=function(e,t){var n=function(t){if(t&&t.valid){var n=[];if(Object(i.hasDeviceAccess)())for(var r=document.cookie.split(";");r.length;){var o=r.pop(),a=o.indexOf("=");a=a<0?o.length:a,decodeURIComponent(o.slice(0,a).replace(/^\s+/,"")).indexOf(e)>=0&&n.push(decodeURIComponent(o.slice(a+1)))}return n}};if(!t||"function"!=typeof t)return o(n);u.push((function(){var e=o(n);t(e)}))};return{setCookie:s,getCookie:f,localStorageIsEnabled:l,cookiesAreEnabled:p,setDataInLocalStorage:g,getDataFromLocalStorage:b,removeDataFromLocalStorage:v,hasLocalStorage:h,findSimilarCookies:y}}var d=Object(r.b)("async",(function(e,t,n,r){r(n)}),"validateStorageEnforcement")},70:function(e,t,n){var r=n(88),i=n(67),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},71:function(e,t,n){var r,i=n(17),o=n(131),a=n(95),c=n(57),u=n(134),s=n(87),d=n(70),f=d("IE_PROTO"),l=function(){},p=function(e){return"<script>"+e+"</"+"script>"},g=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;g=r?function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=s("iframe")).style.display="none",u.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F);for(var n=a.length;n--;)delete g.prototype[a[n]];return g()};c[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(l.prototype=i(e),n=new l,l.prototype=null,n[f]=e):n=g(),void 0===t?n:o(n,t)}},72:function(e,t,n){var r=n(33);e.exports=function(e,t,n,i){i&&i.enumerable?e[t]=n:r(e,t,n)}},73:function(e,t,n){"use strict";var r=n(16),i=n(97),o=n(99),a=n(136),c=n(60),u=n(33),s=n(72),d=n(23),f=n(20),l=n(40),p=n(98),g=p.IteratorPrototype,b=p.BUGGY_SAFARI_ITERATORS,v=d("iterator"),h="keys",y="values",m="entries",O=function(){return this};e.exports=function(e,t,n,d,p,E,j){i(n,t,d);var S,A,T,I=function(e){if(e===p&&_)return _;if(!b&&e in R)return R[e];switch(e){case h:case y:case m:return function(){return new n(this,e)}}return function(){return new n(this)}},w=t+" Iterator",C=!1,R=e.prototype,x=R[v]||R["@@iterator"]||p&&R[p],_=!b&&x||I(p),U="Array"==t&&R.entries||x;if(U&&(S=o(U.call(new e)),g!==Object.prototype&&S.next&&(f||o(S)===g||(a?a(S,g):"function"!=typeof S[v]&&u(S,v,O)),c(S,w,!0,!0),f&&(l[w]=O))),p==y&&x&&x.name!==y&&(C=!0,_=function(){return x.call(this)}),f&&!j||R[v]===_||u(R,v,_),l[t]=_,p)if(A={values:I(y),keys:E?_:I(h),entries:I(m)},j)for(T in A)(b||C||!(T in R))&&s(R,T,A[T]);else r({target:t,proto:!0,forced:b||C},A);return A}},74:function(e,t,n){var r=n(17),i=n(58);e.exports=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},75:function(e,t,n){var r=n(165);e.exports=r},76:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),i={};function o(e,t,n){var r=function(e,t){var n=i[e]=i[e]||{bidders:{}};return t?n.bidders[t]=n.bidders[t]||{}:n}(e,n);return r[t]=(r[t]||0)+1,r[t]}var a={incrementRequestsCounter:function(e){return o(e,"requestsCounter")},incrementBidderRequestsCounter:function(e,t){return o(e,"requestsCounter",t)},incrementBidderWinsCounter:function(e,t){return o(e,"winsCounter",t)},getRequestsCounter:function(e){return Object(r.deepAccess)(i,"".concat(e,".requestsCounter"))||0},getBidderRequestsCounter:function(e,t){return Object(r.deepAccess)(i,"".concat(e,".bidders.").concat(t,".requestsCounter"))||0},getBidderWinsCounter:function(e,t){return Object(r.deepAccess)(i,"".concat(e,".bidders.").concat(t,".winsCounter"))||0}}},8:function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return u})),t.d=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:15,r=e.getHooks({hook:t});0===r.length&&e.before(t,n)},t.c=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.postInstallAllowed,i=void 0!==r&&r;c("async",(function(n){n.forEach((function(e){return t.apply(void 0,o(e))})),i&&(s[e]=t)}),e)([])},t.e=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=s[e];if(i)return i.apply(void 0,n);u(e).before((function(e,t){t.push(n),e(t)}))};var r=n(174),i=n.n(r);function o(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=i()({ready:i.a.SYNC|i.a.ASYNC|i.a.QUEUE}),u=c.get;var s={}},80:function(e,t,n){var r=n(227);e.exports=r},81:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"adUnitSetupChecks",(function(){return K})),n.d(t,"checkAdUnitSetup",(function(){return Y})),t.executeCallbacks=$;var r=n(14),i=n(0),o=n(237),a=n(61),c=n(3),u=n(18),s=n(39),d=n(8),f=n(105),l=n(12),p=n.n(l),g=n(76),b=n(13),v=n(43),h=n(7),y=n(104),m=n(9);function O(e){return function(e){if(Array.isArray(e))return E(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return E(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function j(){return(j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var S=Object(r.a)(),A=n(5),T=n(9).default,I=n(10),w=a.a.triggerUserSyncs,C=A.EVENTS,R=C.ADD_AD_UNITS,x=C.BID_WON,_=C.REQUEST_BIDS,U=C.SET_TARGETING,B=C.STALE_RENDER,D=A.AD_RENDER_FAILED_REASON,k=D.PREVENT_WRITING_ON_MAIN_DOCUMENT,N=D.NO_AD,P=D.EXCEPTION,q=D.CANNOT_FIND_AD,M=D.MISSING_DOC_OR_ADID,G={bidWon:function(e){var t=u.a.getBidsRequested().map((function(e){return e.bids.map((function(e){return e.adUnitCode}))})).reduce(i.flatten).filter(i.uniques);if(!Object(i.contains)(t,e))return void Object(i.logError)('The "'+e+'" placement is not defined.');return!0}};function z(e,t,n){e.defaultView&&e.defaultView.frameElement&&(e.defaultView.frameElement.width=t,e.defaultView.frameElement.height=n)}function L(e,t){var n=[];return Object(i.isArray)(e)&&(t?e.length===t:e.length>0)&&(e.every((function(e){return Object(i.isArrayOfNums)(e,2)}))?n=e:Object(i.isArrayOfNums)(e,2)&&n.push(e)),n}function F(e){var t=Object(i.deepClone)(e),n=t.mediaTypes.banner,r=L(n.sizes);return r.length>0?(n.sizes=r,t.sizes=r):(Object(i.logError)("Detected a mediaTypes.banner object without a proper sizes field.  Please ensure the sizes are listed like: [[300, 250], ...].  Removing invalid mediaTypes.banner object from request."),delete t.mediaTypes.banner),t}function W(e){var t=Object(i.deepClone)(e),n=t.mediaTypes.video;if(n.playerSize){var r="number"==typeof n.playerSize[0]?2:1,o=L(n.playerSize,r);o.length>0?(2===r&&Object(i.logInfo)("Transforming video.playerSize from [640,480] to [[640,480]] so it's in the proper format."),n.playerSize=o,t.sizes=o):(Object(i.logError)("Detected incorrect configuration of mediaTypes.video.playerSize.  Please specify only one set of dimensions in a format like: [[640, 480]]. Removing invalid mediaTypes.video.playerSize property from request."),delete t.mediaTypes.video.playerSize)}return t}function V(e){var t=Object(i.deepClone)(e),n=t.mediaTypes.native;return n.image&&n.image.sizes&&!Array.isArray(n.image.sizes)&&(Object(i.logError)("Please use an array of sizes for native.image.sizes field.  Removing invalid mediaTypes.native.image.sizes property from request."),delete t.mediaTypes.native.image.sizes),n.image&&n.image.aspect_ratios&&!Array.isArray(n.image.aspect_ratios)&&(Object(i.logError)("Please use an array of sizes for native.image.aspect_ratios field.  Removing invalid mediaTypes.native.image.aspect_ratios property from request."),delete t.mediaTypes.native.image.aspect_ratios),n.icon&&n.icon.sizes&&!Array.isArray(n.icon.sizes)&&(Object(i.logError)("Please use an array of sizes for native.icon.sizes field.  Removing invalid mediaTypes.native.icon.sizes property from request."),delete t.mediaTypes.native.icon.sizes),t}function H(e,t){var n=Object(i.deepAccess)(e,"mediaTypes.".concat(t,".pos"));if(!Object(i.isNumber)(n)||isNaN(n)||!isFinite(n)){var r="Value of property 'pos' on ad unit ".concat(e.code," should be of type: Number");Object(i.logWarn)(r),I.emit(A.EVENTS.AUCTION_DEBUG,{type:"WARNING",arguments:r}),delete e.mediaTypes[t].pos}return e}Object(f.d)(),S.bidderSettings=S.bidderSettings||{},S.libLoaded=!0,S.version="v6.13.0",Object(i.logInfo)("Prebid.js v6.13.0 loaded"),S.installedModules=S.installedModules||[],S.adUnits=S.adUnits||[],S.triggerUserSyncs=w;var K={validateBannerMediaType:F,validateVideoMediaType:W,validateNativeMediaType:V,validateSizes:L},Y=Object(d.b)("sync",(function(e){var t=[];return e.forEach((function(e){var n,r,o,a=e.mediaTypes,c=e.bids;if(c&&Object(i.isArray)(c))if(a&&0!==Object.keys(a).length){a.banner&&(n=F(e),a.banner.hasOwnProperty("pos")&&(n=H(n,"banner"))),a.video&&(r=W(n||e),a.video.hasOwnProperty("pos")&&(r=H(r,"video"))),a.native&&(o=V(r||(n||e)));var u=j({},n,r,o);t.push(u)}else Object(i.logError)("Detected adUnit.code '".concat(e.code,"' did not have a 'mediaTypes' object defined.  This is a required field for the auction, so this adUnit has been removed."));else Object(i.logError)("Detected adUnit.code '".concat(e.code,"' did not have 'adUnit.bids' defined or 'adUnit.bids' is not an array. Removing adUnit from auction."))})),t}),"checkAdUnitSetup");function J(e){var t=u.a[e]().filter(i.bind.call(i.adUnitsFilter,this,u.a.getAdUnitCodes())),n=u.a.getLastAuctionId();return t.map((function(e){return e.adUnitCode})).filter(i.uniques).map((function(e){return t.filter((function(t){return t.auctionId===n&&t.adUnitCode===e}))})).filter((function(e){return e&&e[0]&&e[0].adUnitCode})).map((function(e){return t={},n=e[0].adUnitCode,r={bids:e},n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t;var t,n,r})).reduce((function(e,t){return j(e,t)}),{})}function Q(e,t,n){var r=t.querySelector(n);e.parentNode&&e.parentNode===r||Object(i.insertElement)(e,t,n)}function $(e,t){function n(e){for(var t;t=e.shift();)t()}n(h.c),n(X),e.call(this,t)}S.getAdserverTargetingForAdUnitCodeStr=function(e){if(Object(i.logInfo)("Invoking tmzr.getAdserverTargetingForAdUnitCodeStr",arguments),e){var t=S.getAdserverTargetingForAdUnitCode(e);return Object(i.transformAdServerTargetingObj)(t)}Object(i.logMessage)("Need to call getAdserverTargetingForAdUnitCodeStr with adunitCode")},S.getHighestUnusedBidResponseForAdUnitCode=function(e){if(e){var t=u.a.getAllBidsForAdUnitCode(e).filter(s.a.isUnusedBid).filter(s.a.isBidNotExpired);return t.length?t.reduce(i.getHighestCpm):{}}Object(i.logMessage)("Need to call getHighestUnusedBidResponseForAdUnitCode with adunitCode")},S.getAdserverTargetingForAdUnitCode=function(e){return S.getAdserverTargeting(e)[e]},S.getAdserverTargeting=function(e){return Object(i.logInfo)("Invoking tmzr.getAdserverTargeting",arguments),s.d.getAllTargeting(e)},S.getConsentMetadata=function(){return Object(i.logInfo)("Invoking tmzr.getConsentMetadata"),{gdpr:m.gdprDataHandler.getConsentMeta(),usp:m.uspDataHandler.getConsentMeta(),coppa:!!c.b.getConfig("coppa")}},S.getNoBids=function(){return Object(i.logInfo)("Invoking tmzr.getNoBids",arguments),J("getNoBids")},S.getNoBidsForAdUnitCode=function(e){return{bids:u.a.getNoBids().filter((function(t){return t.adUnitCode===e}))}},S.getBidResponses=function(){return Object(i.logInfo)("Invoking tmzr.getBidResponses",arguments),J("getBidsReceived")},S.getBidResponsesForAdUnitCode=function(e){return{bids:u.a.getBidsReceived().filter((function(t){return t.adUnitCode===e}))}},S.setTargetingForGPTAsync=function(e,t){if(Object(i.logInfo)("Invoking tmzr.setTargetingForGPTAsync",arguments),Object(i.isGptPubadsDefined)()){var n=s.d.getAllTargeting(e);s.d.resetPresetTargeting(e,t),s.d.setTargetingForGPT(n,t),Object.keys(n).forEach((function(e){Object.keys(n[e]).forEach((function(t){"hb_adid"===t&&u.a.setStatusForBids(n[e][t],A.BID_STATUS.BID_TARGETING_SET)}))})),I.emit(U,n)}else Object(i.logError)("window.googletag is not defined on the page")},S.setTargetingForAst=function(e){Object(i.logInfo)("Invoking tmzr.setTargetingForAn",arguments),s.d.isApntagDefined()?(s.d.setTargetingForAst(e),I.emit(U,s.d.getAllTargeting())):Object(i.logError)("window.apntag is not defined on the page")},S.renderAd=Object(d.b)("async",(function(e,t,n){if(Object(i.logInfo)("Invoking tmzr.renderAd",arguments),Object(i.logMessage)("Calling renderAd with adId :"+t),e&&t)try{var r=u.a.findBidByAdId(t);if(r){var o=!0;if(r&&r.status===A.BID_STATUS.RENDERED&&(Object(i.logWarn)("Ad id ".concat(r.adId," has been rendered before")),I.emit(B,r),Object(i.deepAccess)(c.b.getConfig("auctionOptions"),"suppressStaleRender")&&(o=!1)),o){if(r.ad=Object(i.replaceAuctionPrice)(r.ad,r.cpm),r.adUrl=Object(i.replaceAuctionPrice)(r.adUrl,r.cpm),n&&n.clickThrough){var a=n.clickThrough;r.ad=Object(i.replaceClickThrough)(r.ad,a),r.adUrl=Object(i.replaceClickThrough)(r.adUrl,a)}u.a.addWinningBid(r),I.emit(x,r);var s=r.height,d=r.width,f=r.ad,l=r.mediaType,p=r.adUrl,g=r.renderer,v=document.createComment("Creative ".concat(r.creativeId," served by ").concat(r.bidder," Prebid.js Header Bidding"));if(Object(i.insertElement)(v,e,"html"),Object(b.c)(g))Object(b.b)(g,r),Q(v,e,"html"),Object(y.b)({doc:e,bid:r,id:t});else if(e===document&&!Object(i.inIframe)()||"video"===l){var h="Error trying to write ad. Ad render call ad id ".concat(t," was prevented from writing to the main document.");Object(y.a)({reason:k,message:h,bid:r,id:t})}else if(f){if(navigator.userAgent&&navigator.userAgent.toLowerCase().indexOf("firefox/")>-1){var m=/firefox\/([\d\.]+)/,O=navigator.userAgent.toLowerCase().match(m)[1];O&&parseInt(O,10)<67&&e.open("text/html","replace")}e.write(f),e.close(),z(e,d,s),Q(v,e,"html"),Object(i.callBurl)(r),Object(y.b)({doc:e,bid:r,id:t})}else if(p){var E=Object(i.createInvisibleIframe)();E.height=s,E.width=d,E.style.display="inline",E.style.overflow="hidden",E.src=p,Object(i.insertElement)(E,e,"body"),z(e,d,s),Q(v,e,"html"),Object(i.callBurl)(r),Object(y.b)({doc:e,bid:r,id:t})}else{var j="Error trying to write ad. No ad for bid response id: ".concat(t);Object(y.a)({reason:N,message:j,bid:r,id:t})}}}else{var S="Error trying to write ad. Cannot find ad by given id : ".concat(t);Object(y.a)({reason:q,message:S,id:t})}}catch(e){var T="Error trying to write ad Id :".concat(t," to the page:").concat(e.message);Object(y.a)({reason:P,message:T,id:t})}else{var w="Error trying to write ad Id :".concat(t," to the page. Missing document or adId");Object(y.a)({reason:M,message:w,id:t})}})),S.removeAdUnit=function(e){(Object(i.logInfo)("Invoking tmzr.removeAdUnit",arguments),e)?(Object(i.isArray)(e)?e:[e]).forEach((function(e){for(var t=S.adUnits.length-1;t>=0;t--)S.adUnits[t].code===e&&S.adUnits.splice(t,1)})):S.adUnits=[]},S.requestBids=Object(d.b)("async",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.bidsBackHandler,n=e.timeout,r=e.adUnits,o=e.adUnitCodes,a=e.labels,d=e.auctionId;I.emit(_);var f=n||c.b.getConfig("bidderTimeout");r=r&&c.b.convertAdUnitFpd(Object(i.isArray)(r)?r:[r])||S.adUnits,Object(i.logInfo)("Invoking tmzr.requestBids",arguments);var l=[],b=[];if(c.b.getConfig("s2sConfig",(function(e){e&&e.s2sConfig&&(l=Array.isArray(e.s2sConfig)?e.s2sConfig:[e.s2sConfig])})),l.forEach((function(e){b.push.apply(b,O(e.bidders))})),r=Y(r),o&&o.length?r=r.filter((function(e){return p()(o,e.code)})):o=r&&r.map((function(e){return e.code})),r.forEach((function(e){var t=Object.keys(e.mediaTypes||{banner:"banner"}),n=e.bids.map((function(e){return e.bidder})),r=T.bidderRegistry,o=b?n.filter((function(e){return!p()(b,e)})):n;e.transactionId=Object(i.generateUUID)(),o.forEach((function(n){var o=r[n],a=o&&o.getSpec&&o.getSpec(),c=a&&a.supportedMediaTypes||["banner"];t.some((function(e){return p()(c,e)}))?g.a.incrementBidderRequestsCounter(e.code,n):(Object(i.logWarn)(Object(i.unsupportedBidderMessage)(e,n)),e.bids=e.bids.filter((function(e){return e.bidder!==n})))})),g.a.incrementRequestsCounter(e.code)})),r&&0!==r.length){var v=u.a.createAuction({adUnits:r,adUnitCodes:o,callback:t,cbTimeout:f,labels:a,auctionId:d}),h=r.length;h>15&&Object(i.logInfo)("Current auction ".concat(v.getAuctionId()," contains ").concat(h," adUnits."),r),o.forEach((function(e){return s.d.setLatestAuctionForAdUnit(e,v.getAuctionId())})),v.callBids()}else if(Object(i.logMessage)("No adUnits configured. No bids requested."),"function"==typeof t)try{t()}catch(e){Object(i.logError)("Error executing bidsBackHandler",null,e)}})),S.requestBids.before($,49),S.addAdUnits=function(e){Object(i.logInfo)("Invoking tmzr.addAdUnits",arguments),S.adUnits.push.apply(S.adUnits,c.b.convertAdUnitFpd(Object(i.isArray)(e)?e:[e])),I.emit(R)},S.onEvent=function(e,t,n){Object(i.logInfo)("Invoking tmzr.onEvent",arguments),Object(i.isFn)(t)?!n||G[e].call(null,n)?I.on(e,t,n):Object(i.logError)('The id provided is not valid for event "'+e+'" and no handler was set.'):Object(i.logError)('The event handler provided is not a function and was not set on event "'+e+'".')},S.offEvent=function(e,t,n){Object(i.logInfo)("Invoking tmzr.offEvent",arguments),n&&!G[e].call(null,n)||I.off(e,t,n)},S.getEvents=function(){return Object(i.logInfo)("Invoking tmzr.getEvents"),I.getEvents()},S.registerBidAdapter=function(e,t){Object(i.logInfo)("Invoking tmzr.registerBidAdapter",arguments);try{T.registerBidAdapter(e(),t)}catch(e){Object(i.logError)("Error registering bidder adapter : "+e.message)}},S.registerAnalyticsAdapter=function(e){Object(i.logInfo)("Invoking tmzr.registerAnalyticsAdapter",arguments);try{T.registerAnalyticsAdapter(e)}catch(e){Object(i.logError)("Error registering analytics adapter : "+e.message)}},S.createBid=function(e){return Object(i.logInfo)("Invoking tmzr.createBid",arguments),Object(v.a)(e)};var X=[],Z=Object(d.b)("async",(function(e){e&&!Object(i.isEmpty)(e)?(Object(i.logInfo)("Invoking tmzr.enableAnalytics for: ",e),T.enableAnalytics(e)):Object(i.logError)("tmzr.enableAnalytics should be called with option {}")}),"enableAnalyticsCb");function ee(e){e.forEach((function(e){if(void 0===e.called)try{e.call(),e.called=!0}catch(e){Object(i.logError)("Error processing command :","prebid.js",e)}}))}S.enableAnalytics=function(e){X.push(Z.bind(this,e))},S.aliasBidder=function(e,t,n){Object(i.logInfo)("Invoking tmzr.aliasBidder",arguments),e&&t?T.aliasBidAdapter(e,t,n):Object(i.logError)("bidderCode and alias must be passed as arguments","tmzr.aliasBidder")},S.getAllWinningBids=function(){return u.a.getAllWinningBids()},S.getAllPrebidWinningBids=function(){return u.a.getBidsReceived().filter((function(e){return e.status===A.BID_STATUS.BID_TARGETING_SET}))},S.getHighestCpmBids=function(e){return s.d.getWinningBids(e)},S.markWinningBidAsUsed=function(e){var t=[];e.adUnitCode&&e.adId?t=u.a.getBidsReceived().filter((function(t){return t.adId===e.adId&&t.adUnitCode===e.adUnitCode})):e.adUnitCode?t=s.d.getWinningBids(e.adUnitCode):e.adId?t=u.a.getBidsReceived().filter((function(t){return t.adId===e.adId})):Object(i.logWarn)("Improper use of markWinningBidAsUsed. It needs an adUnitCode or an adId to function."),t.length>0&&(t[0].status=A.BID_STATUS.RENDERED)},S.getConfig=c.b.getConfig,S.readConfig=c.b.readConfig,S.mergeConfig=c.b.mergeConfig,S.mergeBidderConfig=c.b.mergeBidderConfig,S.setConfig=c.b.setConfig,S.setBidderConfig=c.b.setBidderConfig,S.que.push((function(){return Object(o.a)()})),S.cmd.push=function(e){if("function"==typeof e)try{e.call()}catch(e){Object(i.logError)("Error processing command :",e.message,e.stack)}else Object(i.logError)("Commands written into tmzr.cmd.push must be wrapped in a function")},S.que.push=S.cmd.push,S.processQueue=function(){d.b.ready(),ee(S.que),ee(S.cmd)},t.default=S},83:function(e,t,n){var r=n(392);e.exports=r},84:function(e,t,n){"use strict";t.a=function(e){var t=e;return{callBids:function(){},setBidderCode:function(e){t=e},getBidderCode:function(){return t}}}},85:function(e,t,n){var r=n(29),i=n(51),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},86:function(e,t,n){var r=n(34),i=n(29),o=n(87);e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},87:function(e,t,n){var r=n(27),i=n(30),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},88:function(e,t,n){var r=n(20),i=n(66);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.15.1",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},89:function(e,t,n){var r=n(117),i=n(29);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},9:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"gdprDataHandler",(function(){return B})),n.d(t,"uspDataHandler",(function(){return D})),n.d(t,"coppaDataHandler",(function(){return k})),n.d(t,"clientTestAdapters",(function(){return N})),n.d(t,"allS2SBidders",(function(){return P})),t.getAllS2SBidders=q,t.setS2STestingModule=function(e){A=e};var r=n(0),i=n(102),o=n(47),a=n(1),c=n(4),u=n(3),s=n(8),d=n(12),f=n.n(d),l=n(11),p=n.n(l),g=n(76),b=n(21);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){c=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw i}}return o}(e,t)||E(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(e){return function(e){if(Array.isArray(e))return j(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||E(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){if(e){if("string"==typeof e)return j(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?j(e,t):void 0}}function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function S(){return(S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var A,T=n(5),I=n(10),w={},C=w.bidderRegistry={},R=w.aliasRegistry={},x=[];u.b.getConfig("s2sConfig",(function(e){e&&e.s2sConfig&&(x=Object(r.isArray)(e.s2sConfig)?e.s2sConfig:[e.s2sConfig])}));var _={};var U=Object(s.b)("sync",(function(e){var t=e.bidderCode,n=e.auctionId,o=e.bidderRequestId,a=e.adUnits,c=e.labels,u=e.src;return a.reduce((function(e,a){var s=Object(i.b)(Object(i.a)(a,c),a.mediaTypes,a.sizes),d=s.active,f=s.mediaTypes,l=s.filterResults;return d?l&&Object(r.logInfo)('Size mapping filtered adUnit "'.concat(a.code,'" banner sizes from '),l.before,"to ",l.after):Object(r.logInfo)('Size mapping disabled adUnit "'.concat(a.code,'"')),d&&e.push(a.bids.filter((function(e){return e.bidder===t})).reduce((function(e,t){t=S({},t,Object(r.getDefinedParams)(a,["nativeParams","ortb2Imp","mediaType","renderer","storedAuctionResponse"]));var s=Object(i.b)(Object(i.a)(t,c),f),d=s.active,l=s.mediaTypes,p=s.filterResults;return d?p&&Object(r.logInfo)('Size mapping filtered adUnit "'.concat(a.code,'" bidder "').concat(t.bidder,'" banner sizes from '),p.before,"to ",p.after):Object(r.logInfo)('Size mapping deactivated adUnit "'.concat(a.code,'" bidder "').concat(t.bidder,'"')),Object(r.isValidMediaTypes)(l)?t=S({},t,{mediaTypes:l}):Object(r.logError)("mediaTypes is not correctly configured for adunit ".concat(a.code)),d&&e.push(S({},t,{adUnitCode:a.code,transactionId:a.transactionId,sizes:Object(r.deepAccess)(l,"banner.sizes")||Object(r.deepAccess)(l,"video.playerSize")||[],bidId:t.bid_id||Object(r.getUniqueIdentifierStr)(),bidderRequestId:o,auctionId:n,src:u,bidRequestsCount:g.a.getRequestsCounter(a.code),bidderRequestsCount:g.a.getBidderRequestsCounter(a.code,t.bidder),bidderWinsCount:g.a.getBidderWinsCounter(a.code,t.bidder)})),e}),[])),e}),[]).reduce(r.flatten,[]).filter((function(e){return""!==e}))}),"getBids");var B={consentData:null,generatedTime:null,setConsentData:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object(r.timestamp)();B.consentData=e,B.generatedTime=t},getConsentData:function(){return B.consentData},getConsentMeta:function(){if(B.consentData&&B.consentData.vendorData&&B.generatedTime)return{gdprApplies:B.consentData.gdprApplies,consentStringSize:Object(r.isStr)(B.consentData.vendorData.tcString)?B.consentData.vendorData.tcString.length:0,generatedAt:B.generatedTime,apiVersion:B.consentData.apiVersion}}},D={consentData:null,generatedTime:null,setConsentData:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object(r.timestamp)();D.consentData=e,D.generatedTime=t},getConsentData:function(){return D.consentData},getConsentMeta:function(){if(D.consentData&&D.generatedTime)return{usp:D.consentData,generatedAt:D.generatedTime}}},k={getCoppa:function(){return!!u.b.getConfig("coppa")}},N=[],P=[];function q(){w.s2STestingEnabled=!1,x.forEach((function(e){e&&e.enabled&&e.bidders&&e.bidders.length&&P.push.apply(P,O(e.bidders))}))}function M(e){return e&&e.enabled&&e.testing&&A}function G(e,t,n){try{var i=C[e].getSpec();i&&i[t]&&"function"==typeof i[t]&&(Object(r.logInfo)("Invoking ".concat(e,".").concat(t)),u.b.runWithBidder(e,r.bind.call(i[t],i,n)))}catch(n){Object(r.logWarn)("Error calling ".concat(t," of ").concat(e))}}w.makeBidRequests=Object(s.b)("sync",(function(e,t,n,i,a){I.emit(T.EVENTS.BEFORE_REQUEST_BIDS,e),Object(o.b)(e);var c=Object(r.getBidderCodes)(e);u.b.getConfig("bidderSequence")===u.a&&(c=Object(r.shuffle)(c));var s=Object(b.a)(),d=c,l=[];0===P.length&&q(),x.forEach((function(t){t&&t.enabled&&(M(t)&&(A.calculateBidSources(t),A.getSourceBidderMap(e,P)[A.CLIENT].forEach((function(e){f()(N,e)||N.push(e)}))))})),d=c.filter((function(e){return!f()(P,e)||f()(N,e)}));var g=P;x.forEach((function(i){if(i&&i.enabled){(function(e){return Boolean(M(e)&&e.testServerOnly)})(i)&&function(e,t){return Boolean(p()(e,(function(e){return p()(e.bids,(function(e){return(e.bidSource||t.bidderControl&&t.bidderControl[e.bidder])&&e.finalSource===A.SERVER}))})))}(e,i)&&(Object(r.logWarn)("testServerOnly: True.  All client requests will be suppressed."),d.length=0);var o=function(e,t){var n=t.bidders,i=Object(r.deepClone)(e);return i.forEach((function(e){e.bids=e.bids.filter((function(e){return f()(n,e.bidder)&&(!M(t)||e.finalSource!==A.CLIENT)})).map((function(e){return e.bid_id=Object(r.getUniqueIdentifierStr)(),e}))})),i.filter((function(e){return 0!==e.bids.length}))}(e,i),c=Object(r.generateUUID)();g.forEach((function(e){var u=Object(r.getUniqueIdentifierStr)(),d={bidderCode:e,auctionId:n,bidderRequestId:u,uniquePbsTid:c,bids:U({bidderCode:e,auctionId:n,bidderRequestId:u,adUnits:Object(r.deepClone)(o),labels:a,src:T.S2S.SRC}),auctionStart:t,timeout:i.timeout,src:T.S2S.SRC,refererInfo:s};0!==d.bids.length&&l.push(d)})),o.forEach((function(e){var t=e.bids.filter((function(e){return p()(l,(function(t){return p()(t.bids,(function(t){return t.bidId===e.bid_id}))}))}));e.bids=t})),l.forEach((function(e){void 0===e.adUnitsS2SCopy&&(e.adUnitsS2SCopy=o.filter((function(e){return e.bids.length>0})))}))}}));var v=function(e){var t=Object(r.deepClone)(e);return t.forEach((function(e){e.bids=e.bids.filter((function(e){return!N.length||e.finalSource!==A.SERVER}))})),t.filter((function(e){return 0!==e.bids.length}))}(e);return d.forEach((function(e){var o=Object(r.getUniqueIdentifierStr)(),c={bidderCode:e,auctionId:n,bidderRequestId:o,bids:U({bidderCode:e,auctionId:n,bidderRequestId:o,adUnits:Object(r.deepClone)(v),labels:a,src:"client"}),auctionStart:t,timeout:i,refererInfo:s},u=C[e];u||Object(r.logError)("Trying to make a request for bidder that does not exist: ".concat(e)),u&&c.bids&&0!==c.bids.length&&l.push(c)})),B.getConsentData()&&l.forEach((function(e){e.gdprConsent=B.getConsentData()})),D.getConsentData()&&l.forEach((function(e){e.uspConsent=D.getConsentData()})),l}),"makeBidRequests"),w.callBids=function(e,t,n,i,o,a,s){if(t.length){var d=m(t.reduce((function(e,t){return e[Number(void 0!==t.src&&t.src===T.S2S.SRC)].push(t),e}),[[],[]]),2),l=d[0],p=d[1],g=[];p.forEach((function(e){for(var t=-1,n=0;n<g.length;++n)if(e.uniquePbsTid===g[n].uniquePbsTid){t=n;break}t<=-1&&g.push(e)}));var b=0,v=Object(r.generateUUID)();x.forEach((function(e){if(e&&g[b]&&f()(e.bidders,g[b].bidderCode)){var t=Object(c.b)(a,o?{request:o.request.bind(null,"s2s"),done:o.done}:void 0),u=e.bidders,s=C[e.adapter],d=g[b].uniquePbsTid,l=g[b].adUnitsS2SCopy,y=p.filter((function(e){return e.uniquePbsTid===d}));if(s){var m={tid:v,ad_units:l,s2sConfig:e};if(m.ad_units.length){var O=y.map((function(e){return e.start=Object(r.timestamp)(),i.bind(e)})),E=m.ad_units.reduce((function(e,t){return e.concat((t.bids||[]).reduce((function(e,t){return e.concat(t.bidder)}),[]))}),[]);Object(r.logMessage)("CALLING S2S HEADER BIDDERS ==== ".concat(u.filter((function(e){return f()(E,e)})).join(","))),y.forEach((function(e){I.emit(T.EVENTS.BID_REQUESTED,h(h({},e),{},{tid:v}))})),s.callBids(m,p,n,(function(){return O.forEach((function(e){return e()}))}),t)}}else Object(r.logError)("missing "+e.adapter);b++}})),l.forEach((function(e){e.start=Object(r.timestamp)();var t=C[e.bidderCode];u.b.runWithBidder(e.bidderCode,(function(){Object(r.logMessage)("CALLING BIDDER"),I.emit(T.EVENTS.BID_REQUESTED,e)}));var d=Object(c.b)(a,o?{request:o.request.bind(null,e.bidderCode),done:o.done}:void 0),f=i.bind(e);try{u.b.runWithBidder(e.bidderCode,r.bind.call(t.callBids,t,e,n,f,d,s,u.b.callbackWithBidder(e.bidderCode)))}catch(t){Object(r.logError)("".concat(e.bidderCode," Bid Adapter emitted an uncaught error when parsing their bidRequest"),{e:t,bidRequest:e}),f()}}))}else Object(r.logWarn)("callBids executed with no bidRequests.  Were they filtered by labels or sizing?")},w.videoAdapters=[],w.registerBidAdapter=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.supportedMediaTypes,a=void 0===i?[]:i;e&&t?"function"==typeof e.callBids?(C[t]=e,f()(a,"video")&&w.videoAdapters.push(t),f()(a,"native")&&o.g.push(t)):Object(r.logError)("Bidder adaptor error for bidder code: "+t+"bidder must implement a callBids() function"):Object(r.logError)("bidAdapter or bidderCode not specified")},w.aliasBidAdapter=function(e,t,n){if(void 0===C[t]){var i=C[e];if(void 0===i){var c=[];x.forEach((function(n){if(n.bidders&&n.bidders.length){var r=n&&n.bidders;n&&f()(r,t)?R[t]=e:c.push(e)}})),c.forEach((function(e){Object(r.logError)('bidderCode "'+e+'" is not an existing bidder.',"adapterManager.aliasBidAdapter")}))}else try{var u,s=function(e){var t=[];return f()(w.videoAdapters,e)&&t.push("video"),f()(o.g,e)&&t.push("native"),t}(e);if(i.constructor.prototype!=Object.prototype)(u=new i.constructor).setBidderCode(t);else{var d=i.getSpec(),l=n&&n.gvlid,p=n&&n.skipPbsAliasing;u=Object(a.newBidder)(S({},d,{code:t,gvlid:l,skipPbsAliasing:p})),R[t]=e}w.registerBidAdapter(u,t,{supportedMediaTypes:s})}catch(t){Object(r.logError)(e+" bidder does not currently support aliasing.","adapterManager.aliasBidAdapter")}}else Object(r.logMessage)('alias name "'+t+'" has been already specified.')},w.registerAnalyticsAdapter=function(e){var t=e.adapter,n=e.code,i=e.gvlid;t&&n?"function"==typeof t.enableAnalytics?(t.code=n,_[n]={adapter:t,gvlid:i}):Object(r.logError)('Prebid Error: Analytics adaptor error for analytics "'.concat(n,'"\n        analytics adapter must implement an enableAnalytics() function')):Object(r.logError)("Prebid Error: analyticsAdapter or analyticsCode not specified")},w.enableAnalytics=function(e){Object(r.isArray)(e)||(e=[e]),Object(r._each)(e,(function(e){var t=_[e.provider].adapter;t?t.enableAnalytics(e):Object(r.logError)("Prebid Error: no analytics adapter found in registry for\n        ".concat(e.provider,"."))}))},w.getBidAdapter=function(e){return C[e]},w.getAnalyticsAdapter=function(e){return _[e]},w.callTimedOutBidders=function(e,t,n){t=t.map((function(t){return t.params=Object(r.getUserConfiguredParams)(e,t.adUnitCode,t.bidder),t.timeout=n,t})),t=Object(r.groupBy)(t,"bidder"),Object.keys(t).forEach((function(e){G(e,"onTimeout",t[e])}))},w.callBidWonBidder=function(e,t,n){t.params=Object(r.getUserConfiguredParams)(n,t.adUnitCode,t.bidder),g.a.incrementBidderWinsCounter(t.adUnitCode,t.bidder),G(e,"onBidWon",t)},w.callSetTargetingBidder=function(e,t){G(e,"onSetTargeting",t)},w.callBidViewableBidder=function(e,t){G(e,"onBidViewable",t)},w.callBidderError=function(e,t,n){G(e,"onBidderError",{error:t,bidderRequest:n})},t.default=w},90:function(e,t,n){var r=n(50),i=n(54),o=n(122),a=function(e){return function(t,n,a){var c,u=r(t),s=i(u.length),d=o(a,s);if(e&&n!=n){for(;s>d;)if((c=u[d++])!=c)return!0}else for(;s>d;d++)if((e||d in u)&&u[d]===n)return e||d||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},91:function(e,t,n){var r=n(123);n(143),n(145),n(147),n(149),n(151),n(152),n(153),n(154),n(155),n(156),n(157),n(158),n(159),n(160),n(161),n(162),n(163),n(164),e.exports=r},92:function(e,t,n){var r=n(57),i=n(30),o=n(31),a=n(35).f,c=n(67),u=n(126),s=c("meta"),d=0,f=Object.isExtensible||function(){return!0},l=function(e){a(e,s,{value:{objectID:"O"+ ++d,weakData:{}}})},p=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,s)){if(!f(e))return"F";if(!t)return"E";l(e)}return e[s].objectID},getWeakData:function(e,t){if(!o(e,s)){if(!f(e))return!0;if(!t)return!1;l(e)}return e[s].weakData},onFreeze:function(e){return u&&p.REQUIRED&&f(e)&&!o(e,s)&&l(e),e}};r[s]=!0},93:function(e,t,n){var r=n(23),i=n(40),o=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},94:function(e,t,n){var r=n(17);e.exports=function(e){var t=e.return;if(void 0!==t)return r(t.call(e)).value}},95:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},96:function(e,t,n){var r=n(72);e.exports=function(e,t,n){for(var i in t)n&&n.unsafe&&e[i]?e[i]=t[i]:r(e,i,t[i],n);return e}},97:function(e,t,n){"use strict";var r=n(98).IteratorPrototype,i=n(71),o=n(44),a=n(60),c=n(40),u=function(){return this};e.exports=function(e,t,n){var s=t+" Iterator";return e.prototype=i(r,{next:o(1,n)}),a(e,s,!1,!0),c[s]=u,e}},98:function(e,t,n){"use strict";var r,i,o,a=n(29),c=n(99),u=n(33),s=n(31),d=n(23),f=n(20),l=d("iterator"),p=!1;[].keys&&("next"in(o=[].keys())?(i=c(c(o)))!==Object.prototype&&(r=i):p=!0);var g=null==r||a((function(){var e={};return r[l].call(e)!==e}));g&&(r={}),f&&!g||s(r,l)||u(r,l,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},99:function(e,t,n){var r=n(31),i=n(53),o=n(70),a=n(135),c=o("IE_PROTO"),u=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=i(e),r(e,c)?e[c]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?u:null}}});
tmzrChunk([410],{107:function(t,e,r){t.exports=r(108)},108:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),r.d(e,"spec",(function(){return E}));var n=r(1),i=r(3),o=r(0),a=r(2);function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function s(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){u(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function u(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function d(){return(d=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var p="33across",f="https://ssc-cms.33across.com/ps/?m=xch&rt=html&ru=deb",l=/^[a-zA-Z0-9_-]{22}$/,m="siab",b="inview",g="instream",h=["mimes","minduration","maxduration","placement","protocols","startdelay","skip","skipafter","minbitrate","maxbitrate","delivery","playbackmethod","api","linearity"],v={uniqueSiteIds:[]},y="nm";function O(t){return"".concat(t.params.siteId,":").concat(t.params.productId)}function A(t){return"".concat(t.bidId)}function j(t){var e=t.bidRequests,r=t.gdprConsent,n=void 0===r?{}:r,i=t.uspConsent,c=t.pageUrl,u=t.ttxSettings,p={},f=e[0].params,l=f.siteId,m=f.test;p.imp=[],e.forEach((function(t){p.imp.push(function(t){var e={id:t.bidId,ext:{ttx:{prod:Object(o.deepAccess)(t,"params.productId")}}};Object(o.deepAccess)(t,"mediaTypes.banner")&&(e.banner=s({},function(t){var e,r=Object(o.deepAccess)(t,"mediaTypes.banner",{}),n=(c=t.adUnitCode,document.getElementById(c)||document.getElementById(function(t){if(Object(o.isGptPubadsDefined)())for(var e=googletag.pubads().getSlots(),r=Object(o.isSlotMatchingAdUnitCode)(t),n=0;n<e.length;n++)if(r(e[n])){var i=e[n].getSlotElementId();return Object(o.logInfo)("[33Across Adapter] Map ad unit path to HTML element id: '".concat(t,"' -> ").concat(i)),i}return Object(o.logWarn)("[33Across Adapter] Unable to locate element for ad unit code: '".concat(t,"'")),null}(c))),i=function(t){if(Object(o.isArray)(t)&&2===t.length&&!Object(o.isArray)(t[0]))return[x(t)];return t.map(x)}(r.sizes);var c;e="function"==typeof t.getFloor?i.map((function(e){var r,n=C(t,e,a.b);return n&&(r={ext:{ttx:{bidfloors:[n]}}}),d({},e,r)})):i;var s=function(t){return t.reduce((function(t,e){return e.h*e.w<t.h*t.w?e:t}))}(i),u=function(t){return{ttx:{viewability:{amount:isNaN(t)?t:Math.round(t)}}}}(function(t){return!function(){try{return Object(o.getWindowSelf)()!==Object(o.getWindowTop)()}catch(t){return!0}}()&&null!==t}(n)?function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.w,i=r.h;return"visible"===e.document.visibilityState?z(t,e,{w:n,h:i}):0}(n,Object(o.getWindowTop)(),s):y);return{format:e,ext:u}}(t)));Object(o.deepAccess)(t,"mediaTypes.video")&&(e.video=function(t){var e=Object(o.deepAccess)(t,"mediaTypes.video",{}),r=Object(o.deepAccess)(t,"params.video",{}),n=s(s({},e),r),i={},c=x(n.playerSize[0]),u=c.w,p=c.h;i.w=u,i.h=p,h.forEach((function(t){n.hasOwnProperty(t)&&(i[t]=n[t])}));var f=S(t);i.placement=i.placement||2,f===g&&(i.startdelay=i.startdelay||0,i.placement=1);if("function"==typeof t.getFloor){var l=C(t,{w:i.w,h:i.h},a.d);l&&d(i,{ext:{ttx:{bidfloors:[l]}}})}return i}(t));return e}(t))})),p.site={id:l},c&&(p.site.page=c),p.id=e[0].auctionId,n.consentString&&(p.user=w(p.user,{consent:n.consentString})),Array.isArray(e[0].userIdAsEids)&&e[0].userIdAsEids.length>0&&(p.user=w(p.user,{eids:e[0].userIdAsEids})),p.regs=w(p.regs,{gdpr:Number(n.gdprApplies)}),i&&(p.regs=w(p.regs,{us_privacy:i})),p.ext={ttx:{prebidStartedAt:Date.now(),caller:[{name:"prebidjs",version:"6.13.0"}]}},e[0].schain&&(p.source=w(p.source,{schain:e[0].schain})),1===m&&(p.test=1);return{method:"POST",url:u&&u.url||"".concat("https://ssc.33across.com/api/v1/hb","?guid=").concat(l),data:JSON.stringify(p),options:{contentType:"text/plain",withCredentials:!0}}}function w(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return Object(o.mergeDeep)({},t,{ext:e})}function x(t){return{w:parseInt(t[0],10),h:parseInt(t[1],10)}}function I(t){return Object(o.mergeDeep)({},t,{params:{productId:S(t)}})}function S(t){var e=t.params,r=t.mediaTypes,n=r.banner,i=r.video;return i&&!n&&"instream"===i.context?g:e.productId===b?e.productId:m}function C(t,e,r){var n=t.getFloor({currency:"USD",mediaType:r,size:[e.w,e.h]});if(!isNaN(n.floor)&&"USD"===n.currency)return n.floor}function T(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.w,n=e.h,i=t.getBoundingClientRect(),o=i.width,a=i.height,c=i.left,s=i.top,u=i.right,d=i.bottom;return(0===o||0===a)&&r&&n&&(o=r,a=n,u=c+r,d=s+n),{width:o,height:a,left:c,top:s,right:u,bottom:d}}function U(t){for(var e={left:t[0].left,right:t[0].right,top:t[0].top,bottom:t[0].bottom},r=1;r<t.length;++r){if(e.left=Math.max(e.left,t[r].left),e.right=Math.min(e.right,t[r].right),e.left>=e.right)return null;if(e.top=Math.max(e.top,t[r].top),e.bottom=Math.min(e.bottom,t[r].bottom),e.top>=e.bottom)return null}return e.width=e.right-e.left,e.height=e.bottom-e.top,e}function z(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.w,i=r.h,o=T(t,{w:n,h:i}),a=U([{left:0,top:0,right:e.innerWidth,bottom:e.innerHeight},o]);return null!==a?a.width*a.height/(o.width*o.height)*100:0}var E={NON_MEASURABLE:y,code:p,supportedMediaTypes:[a.b,a.d],gvlid:58,isBidRequestValid:function(t){return function(t){if(t.bidder!==p||void 0===t.params)return!1;if(!function(t){if(null===(Object(o.deepAccess)(t,"params.siteId","")||"").trim().match(l))return!1;return!0}(t))return!1;return!0}(t)&&function(t){var e=Object(o.deepAccess)(t,"mediaTypes.banner");if(void 0===e)return!0;if(!Array.isArray(e.sizes))return!1;return!0}(t)&&function(t){var e=Object(o.deepAccess)(t,"mediaTypes.video"),r=Object(o.deepAccess)(t,"params.video",{});if(void 0===e)return!0;if(!Array.isArray(e.playerSize))return!1;if(!e.context)return!1;var n=s(s({},e),r);if(!Array.isArray(n.mimes)||0===n.mimes.length)return!1;if(!Array.isArray(n.protocols)||0===n.protocols.length)return!1;if(void 0!==n.placement&&"number"!=typeof n.placement)return!1;if("instream"===e.context&&void 0!==n.startdelay&&"number"!=typeof n.startdelay)return!1;return!0}(t)},buildRequests:function(t,e){var r=function(t,e){var r=d({},i.b.getConfig("ttxSettings")),n=d({consentString:void 0,gdprApplies:!1},e&&e.gdprConsent),a=e&&e.uspConsent,c=e&&e.refererInfo?e.refererInfo.referer:void 0;return v.uniqueSiteIds=t.map((function(t){return t.params.siteId})).filter(o.uniques),{ttxSettings:r,gdprConsent:n,uspConsent:a,pageUrl:c}}(t,e),n=r.ttxSettings,a=r.gdprConsent,c=r.uspConsent,s=r.pageUrl,u=function(t,e){var r=e.map(I),n=t&&t.enableSRAMode;return function(t,e){var r={};return t.forEach((function(t){var n=e(t);r[n]=r[n]||[],r[n].push(t)})),r}(r,!0===n?O:A)}(n,t),p=[];for(var f in u)p.push(j({bidRequests:u[f],gdprConsent:a,uspConsent:c,pageUrl:s,ttxSettings:n}));return p},interpretResponse:function(t,e){var r=t.body,n=r.seatbid,i=r.cur,c=void 0===i?"USD":i;return Object(o.isArray)(n)?n.filter((function(t){return Object(o.isArray)(t.bid)&&t.bid.length>0})).reduce((function(t,e){return t.concat(e.bid.map((function(t){return function(t,e){var r=t.adomain&&t.adomain.length,n={requestId:t.impid,bidderCode:p,cpm:t.price,width:t.w,height:t.h,ad:t.adm,ttl:t.ttl||60,creativeId:t.crid,mediaType:Object(o.deepAccess)(t,"ext.ttx.mediaType",a.b),currency:e,netRevenue:!0};r&&(n.meta={advertiserDomains:t.adomain});if(n.mediaType===a.d){"xml"===Object(o.deepAccess)(t,"ext.ttx.vastType","xml")?n.vastXml=n.ad:n.vastUrl=n.ad}return n}(t,c)})))}),[]):[]},getUserSyncs:function(t,e,r,n){var o=t.iframeEnabled?v.uniqueSiteIds.map((function(t){return function(t){var e=t.siteId,r=void 0===e?"zzz000000000003zzz":e,n=t.gdprConsent,o=void 0===n?{}:n,a=t.uspConsent,c=i.b.getConfig("ttxSettings"),s=c&&c.syncUrl||f,u=o.consentString,d=o.gdprApplies,p={type:"iframe",url:"".concat(s,"&id=").concat(r,"&gdpr_consent=").concat(encodeURIComponent(u),"&us_privacy=").concat(encodeURIComponent(a))};"boolean"==typeof d&&(p.url+="&gdpr=".concat(Number(d)));return p}({gdprConsent:r,uspConsent:n,siteId:t})})):[];return v.uniqueSiteIds=[],o}};Object(n.registerBidder)(E),window.tmzr.installedModules.push("33acrossBidAdapter")}},[107]);
tmzrChunk([73],{184:function(e,n,t){e.exports=t(185)},185:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=t(6),a=t(9),o=t(5),u=t.n(o),i=t(0);function c(){return(c=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(this,arguments)}var s=Object.keys(u.a.EVENTS).map((function(e){return u.a.EVENTS[e]}));var l=c(Object(r.a)({emptyUrl:"",analyticsType:"endpoint"}),{track:function(e){var n,t,r=e.eventType,a=e.args;void 0!==a&&-1!==s.indexOf(r)&&(n="pb-analytics-event",t={eventName:r,args:a},Object(i.getWindowTop)().ADAGIO.queue.push({action:n,data:t,ts:Date.now()}))}});l.originEnableAnalytics=l.enableAnalytics,l.enableAnalytics=function(e){if(function(){try{if(Object(i.getWindowTop)().location.href)return!0}catch(e){return!1}}()){var n=Object(i.getWindowTop)();n.ADAGIO=n.ADAGIO||{},n.ADAGIO.queue=n.ADAGIO.queue||[],n.ADAGIO.versions=n.ADAGIO.versions||{},n.ADAGIO.versions.adagioAnalyticsAdapter="2.0.0",l.originEnableAnalytics(e)}},a.default.registerAnalyticsAdapter({adapter:l,code:"adagio"}),n.default=l,window.tmzr.installedModules.push("adagioAnalyticsAdapter")},6:function(e,n,t){"use strict";n.a=function(e){var n,t=e.url,r=e.analyticsType,a=e.global,l=e.handler,j=[],S=0,m=!0;(function(){if(m){for(var e=0;e<j.length;e++)j[e]();j.push=function(e){e()},m=!1}Object(u.logMessage)("event count sent to ".concat(a,": ").concat(S))})();return{track:function(e){var n=e.eventType,t=e.args;this.getAdapterType()===N&&window[a](l,n,t);this.getAdapterType()===q&&w.apply(void 0,arguments)},enqueue:G,enableAnalytics:U,disableAnalytics:function(){Object(u._each)(n,(function(e,n){s.off(n,e)})),this.enableAnalytics=this._oldEnable?this._oldEnable:U},getAdapterType:function(){return r},getGlobal:function(){return a},getHandler:function(){return l},getUrl:function(){return t}};function w(e){var n=e.eventType,r=e.args,a=e.callback;Object(o.a)(t,a,JSON.stringify({eventType:n,args:r}))}function G(e){var n=e.eventType,t=e.args,r=this;a&&window[a]&&n&&t?this.track({eventType:n,args:t}):j.push((function(){S++,r.track({eventType:n,args:t})}))}function U(e){var t,r=this,o=this;"object"!==c(e)||"object"!==c(e.options)||(void 0===e.options.sampling||Math.random()<parseFloat(e.options.sampling))?(s.getEvents().forEach((function(e){if(e){var n=e.eventType,t=e.args;n!==v&&G.call(o,{eventType:n,args:t})}})),i(t={},y,(function(e){return r.enqueue({eventType:y,args:e})})),i(t,g,(function(e){return r.enqueue({eventType:g,args:e})})),i(t,b,(function(e){return r.enqueue({eventType:b,args:e})})),i(t,T,(function(e){return r.enqueue({eventType:T,args:e})})),i(t,v,(function(e){return r.enqueue({eventType:v,args:e})})),i(t,A,(function(e){return r.enqueue({eventType:A,args:e})})),i(t,d,(function(e){return r.enqueue({eventType:d,args:e})})),i(t,E,(function(e){return r.enqueue({eventType:E,args:e})})),i(t,O,(function(e){return r.enqueue({eventType:O,args:e})})),i(t,f,(function(e){return r.enqueue({eventType:f,args:e})})),i(t,D,(function(e){return r.enqueue({eventType:D,args:e})})),i(t,h,(function(e){return r.enqueue({eventType:h,args:e})})),i(t,I,(function(e){return r.enqueue({eventType:I,args:e})})),i(t,_,(function(e){return r.enqueue({eventType:_,args:e})})),i(t,p,(function(n){n.config="object"===c(e)&&e.options||{},r.enqueue({eventType:p,args:n})})),n=t,Object(u._each)(n,(function(e,n){s.on(n,e)}))):Object(u.logMessage)('Analytics adapter for "'.concat(a,'" disabled by sampling'));this._oldEnable=this.enableAnalytics,this.enableAnalytics=function(){return Object(u.logMessage)('Analytics adapter for "'.concat(a,'" already enabled, unnecessary call to `enableAnalytics`.'))}}};var r=t(5),a=t.n(r),o=t(4),u=t(0);function i(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var s=t(10),l=a.a.EVENTS,p=l.AUCTION_INIT,f=l.AUCTION_END,y=l.REQUEST_BIDS,g=l.BID_REQUESTED,v=l.BID_TIMEOUT,b=l.BID_RESPONSE,T=l.NO_BID,A=l.BID_WON,d=l.BID_ADJUSTMENT,E=l.BIDDER_DONE,O=l.SET_TARGETING,D=l.AD_RENDER_FAILED,h=l.AD_RENDER_SUCCEEDED,I=l.AUCTION_DEBUG,_=l.ADD_AD_UNITS,q="endpoint",N="bundle"}},[184]);
tmzrChunk([1],{15:function(e,t,r){"use strict";t.b=function(e){var t=[];for(var r in e)if(e.hasOwnProperty(r))if("pubProvidedId"===r)t=t.concat(e.pubProvidedId);else{var n=o(e[r],r);n&&t.push(n)}return t},t.a=function(e){var t=[];return e.filter((function(e){return Object(n.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length})).forEach((function(e){Object.keys(e.idObj).forEach((function(r){Object(n.deepAccess)(e,"config.bidders")&&Array.isArray(e.config.bidders)&&Object(n.deepAccess)(i,r+".source")&&t.push({source:i[r].source,bidders:e.config.bidders})}))})),t};var n=r(0),i={trustpid:{source:"trustpid.com",atype:1,getValue:function(e){return e}},intentIqId:{source:"intentiq.com",atype:1},naveggId:{source:"navegg.com",atype:1},justId:{source:"justtag.com",atype:1},pubcid:{source:"pubcid.org",atype:1},tdid:{source:"adserver.org",atype:1,getUidExt:function(){return{rtiPartner:"TDID"}}},id5id:{getValue:function(e){return e.uid},source:"id5-sync.com",atype:1,getUidExt:function(e){if(e.ext)return e.ext}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var t=Object(n.pick)(e,["ibaOptout","ccpaOptout"]);if(Object.keys(t).length)return t}},idl_env:{source:"liveramp.com",atype:3},lipb:{getValue:function(e){return e.lipbid},source:"liveintent.com",atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},britepoolid:{source:"britepool.com",atype:3},dmdId:{source:"hcn.health",atype:3},lotamePanoramaId:{source:"crwdcntrl.net",atype:1},criteoId:{source:"criteo.com",atype:1},merkleId:{source:"merkleinc.com",atype:3,getValue:function(e){return e.id},getUidExt:function(e){return e&&e.keyID?{keyID:e.keyID}:void 0}},netId:{source:"netid.de",atype:1},IDP:{source:"zeotap.com",atype:1},hadronId:{source:"audigent.com",atype:1},haloId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},nextrollId:{source:"nextroll.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(e){return e.snowflake},source:"novatiq.com",atype:1},uid2:{source:"uidapi.com",atype:3,getValue:function(e){return e.id}},dapId:{source:"akamai.com",atype:1},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3},adtelligentId:{source:"adtelligent.com",atype:3},amxId:{source:"amxrtb.com",atype:1},publinkId:{source:"epsilon.com",atype:3},kpuid:{source:"kpuid.com",atype:3},imuid:{source:"intimatemerger.com",atype:1},connectId:{source:"yahoo.com",atype:3},qid:{source:"adquery.io",atype:1}};function o(e,t){var r=i[t];if(r&&e){var o={};o.source=r.source;var a=Object(n.isFn)(r.getValue)?r.getValue(e):e;if(Object(n.isStr)(a)){var s={id:a,atype:r.atype};if(Object(n.isFn)(r.getUidExt)){var c=r.getUidExt(e);c&&(s.ext=c)}if(o.uids=[s],Object(n.isFn)(r.getEidExt)){var u=r.getEidExt(e);u&&(o.ext=u)}return o}}return null}},186:function(e,t,r){e.exports=r(187)},187:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r.d(t,"ENDPOINT",(function(){return T})),r.d(t,"storage",(function(){return x})),r.d(t,"RENDERER_URL",(function(){return S})),r.d(t,"ORTB_VIDEO_PARAMS",(function(){return E})),r.d(t,"GlobalExchange",(function(){return k})),t.adagioScriptFromLocalStorageCb=U,t.getAdagioScript=C,r.d(t,"internal",(function(){return q})),t.setExtraParam=G,r.d(t,"spec",(function(){return J}));var n=r(11),i=r.n(n),o=r(0),a=r(3),s=r(1),c=r(32),u=r(77),d=(r.n(u),r(7)),p=r(21),f=r(15),m=r(2),l=r(13),h=r(19);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){b(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var v,O,A,I="adagio",j="Adagio:",T="https://mp.4dex.io/prebid",D=[m.b,m.c,m.d],w="adagioScript",x=Object(d.b)(617,"adagio"),S="https://script.4dex.io/outstream-player.js",E={mimes:function(e){return Array.isArray(e)&&e.length>0&&e.every((function(e){return"string"==typeof e}))},minduration:function(e){return Object(o.isInteger)(e)},maxduration:function(e){return Object(o.isInteger)(e)},protocols:function(e){return Array.isArray(e)&&e.every((function(e){return-1!==[1,2,3,4,5,6,7,8,9,10].indexOf(e)}))},w:function(e){return Object(o.isInteger)(e)},h:function(e){return Object(o.isInteger)(e)},startdelay:function(e){return Object(o.isInteger)(e)},placement:function(e){return Array.isArray(e)&&e.every((function(e){return-1!==[1,2,3,4,5].indexOf(e)}))},linearity:function(e){return-1!==[1,2].indexOf(e)},skip:function(e){return-1!==[0,1].indexOf(e)},skipmin:function(e){return Object(o.isInteger)(e)},skipafter:function(e){return Object(o.isInteger)(e)},sequence:function(e){return Object(o.isInteger)(e)},battr:function(e){return Array.isArray(e)&&e.every((function(e){return-1!==Array.from({length:17},(function(e,t){return t+1})).indexOf(e)}))},maxextended:function(e){return Object(o.isInteger)(e)},minbitrate:function(e){return Object(o.isInteger)(e)},maxbitrate:function(e){return Object(o.isInteger)(e)},boxingallowed:function(e){return-1!==[0,1].indexOf(e)},playbackmethod:function(e){return Array.isArray(e)&&e.every((function(e){return-1!==[1,2,3,4,5,6].indexOf(e)}))},playbackend:function(e){return-1!==[1,2,3].indexOf(e)},delivery:function(e){return-1!==[1,2,3].indexOf(e)},pos:function(e){return-1!==[0,1,2,3,4,5,6,7].indexOf(e)},api:function(e){return Array.isArray(e)&&e.every((function(e){return-1!==[1,2,3,4,5,6].indexOf(e)}))}},k=(A={},{clearFeatures:function(){O=void 0},clearExchangeData:function(){A={}},getOrSetGlobalFeatures:function(){return O||(O={page_dimensions:z().toString(),viewport_dimensions:V().toString(),user_timestamp:(Math.floor((new Date).getTime()/1e3)-60*(new Date).getTimezoneOffset()).toString(),dom_loading:L().toString()}),O},prepareExchangeData:function(e){var t=JSON.parse(e,(function(e,t){if("_"!==e.charAt(0)||""===e)return t})),r=Object(o.deepAccess)(t,"session.rnd"),n=!1;q.isNewSession(t)&&(n=!0,r=Math.random());var i={session:{new:n,rnd:r}};Object(o.mergeDeep)(A,t,i),q.enqueue({action:"session",ts:Date.now(),data:A})},getExchangeData:function(){return A}});function U(e){try{if(!e)return void Object(o.logWarn)("".concat(j," script not found."));var t=/^(\/\/ hash: (.+)\n)(.+\n)$/;if(t.test(e)){var r=e.match(t),n=r[2],i=r[3];Object(u.verify)(i,n,"AL16XT44Sfp+8SHVF1UdC7hydPSMVLMhsYknKDdwqq+0ToDSJrP0+Qh0ki9JJI2uYm/6VEYo8TJED9WfMkiJ4vf02CW3RvSWwc35bif2SK1L8Nn/GfFYr/2/GG/Rm0vUsv+vBHky6nuuYls20Og0HDhMgaOlXoQ/cxMuiy5QSktp",65537)?(Object(o.logInfo)("".concat(j," start script.")),Function(e)()):(Object(o.logWarn)("".concat(j," invalid script found.")),x.removeDataFromLocalStorage(w))}else Object(o.logWarn)("".concat(j," no hash found.")),x.removeDataFromLocalStorage(w)}catch(e){Object(o.logError)(j,e)}}function C(){x.getDataFromLocalStorage(w,(function(e){q.adagioScriptFromLocalStorageCb(e)})),x.localStorageIsEnabled((function(e){if(e)Object(c.a)("https://script.4dex.io/localstore.js",I);else try{window.localStorage.removeItem(w),window.localStorage.removeItem("adagio")}catch(e){Object(o.logInfo)("".concat(j," unable to clear Adagio scripts from localstorage."))}}))}function R(){try{if(Object(o.getWindowTop)().location.href)return!0}catch(e){return!1}}function P(){return v||Object(o.getWindowSelf)()}function M(){var e=Object(o.getWindowSelf)();return!(!e.$sf||!e.$sf.ext)}function W(e){var t=q.isRendererPreferredFromPublisher(e)?"other":"adagio";return"other"===t&&Object(o.logWarn)("".concat(j," renderer.backupOnly has not been set. Adagio recommends to use its own player to get expected behavior.")),t}var q={enqueue:function(e){var t=q.getCurrentWindow();t.ADAGIO=t.ADAGIO||{},t.ADAGIO.queue=t.ADAGIO.queue||[],t.ADAGIO.queue.push(e)},getPageviewId:function(){var e=q.getCurrentWindow();return e.ADAGIO=e.ADAGIO||{},e.ADAGIO.pageviewId=e.ADAGIO.pageviewId||Object(o.generateUUID)(),e.ADAGIO.pageviewId},getDevice:function(){var e=navigator.language?"language":"userLanguage";return{userAgent:navigator.userAgent,language:navigator[e],dnt:Object(o.getDNT)()?1:0,geo:{},js:1}},getSite:function(e){var t="",r="",n="",i=e.refererInfo;if(R()){var a=Object(o.getWindowTop)();t=a.location.hostname,r=a.location.href,n=a.document.referrer||""}else if(i.reachedTop){t=Object(o.parseUrl)(i.referer).hostname,r=i.referer}else if(i.stack&&i.stack.length&&i.stack[0]){t=Object(o.parseUrl)(i.stack[0]).hostname}return{domain:t,page:r,referrer:n}},getElementFromTopWindow:function e(t,r){try{if(Object(o.getWindowTop)()===r)return t.getAttribute("id")||t.setAttribute("id","adg-".concat(Object(o.getUniqueIdentifierStr)())),t;var n=r.frameElement,i=n.getBoundingClientRect(),a=t.getBoundingClientRect();return i.width===a.width&&i.height===a.height&&e(n,r.parent)}catch(e){return Object(o.logWarn)("".concat(j),e),!1}},getRefererInfo:p.a,adagioScriptFromLocalStorageCb:U,getCurrentWindow:P,canAccessTopWindow:R,isRendererPreferredFromPublisher:function(e){var t=Object(o.deepAccess)(e,"renderer"),r=!!(t&&t.url&&t.render),n=Object(o.deepAccess)(e,"mediaTypes.video.renderer"),i=!!(n&&n.url&&n.render);return!!(r&&!0!==t.backupOnly||i&&!0!==n.backupOnly)},isNewSession:function(e){var t=Date.now(),r=Object(o.deepAccess)(e,"session",{}),n=r.lastActivityTime,i=r.vwSmplg;return!Object(o.isNumber)(n)||!Object(o.isNumber)(i)||t-n>18e5}};function N(e){e.renderer.push((function(){"function"==typeof window.ADAGIO.outstreamPlayer?window.ADAGIO.outstreamPlayer(e):Object(o.logError)("".concat(j," Adagio outstream player is not defined"))}))}function B(e){if(e.admNative&&Array.isArray(e.admNative.assets)){var t={};e.admNative.assets.forEach((function(e){if(e.title)t.title=e.title.text;else if(e.data)r=e.data,(n={1:"sponsoredBy",2:"body",3:"rating",4:"likes",5:"downloads",6:"price",7:"salePrice",8:"phone",9:"address",10:"body2",11:"displayUrl",12:"cta"}).hasOwnProperty(r.type)&&"string"==typeof r.value&&(t[n[r.type]]=r.value);else if(e.img)switch(e.img.type){case 1:t.icon={url:e.img.url,width:e.img.w,height:e.img.h};break;default:t.image={url:e.img.url,width:e.img.w,height:e.img.h}}var r,n})),e.admNative.link&&(e.admNative.link.url&&(t.clickUrl=e.admNative.link.url),Array.isArray(e.admNative.link.clicktrackers)&&(t.clickTrackers=e.admNative.link.clicktrackers)),Array.isArray(e.admNative.eventtrackers)?(t.impressionTrackers=[],e.admNative.eventtrackers.forEach((function(e){if(1===e.event)switch(e.method){case 1:t.impressionTrackers.push(e.url);break;case 2:t.javascriptTrackers='<script src="'.concat(e.url,'"><\/script>')}}))):(t.impressionTrackers=Array.isArray(e.admNative.imptrackers)?e.admNative.imptrackers:[],e.admNative.jstracker&&(t.javascriptTrackers=e.admNative.jstracker)),e.admNative.privacy&&(t.privacyLink=e.admNative.privacy),e.admNative.ext&&(t.ext={},e.admNative.ext.bvw&&(t.ext.adagio_bvw=e.admNative.ext.bvw)),e.native=t}else Object(o.logError)("".concat(j," Invalid native response"))}function G(e,t){if(e.params=e.params||{},!e.params[t]){var r=a.b.getConfig("adagio")||{},n=a.b.getConfig("ortb2"),i=r[t]||Object(o.deepAccess)(n,"site.ext.data.".concat(t),null);i&&(e.params[t]=i)}}function F(e){var t=a.b.getConfig("adagio")||{};e.params=e.params||{},t.siteId&&(e.params.organizationId=t.siteId.split(":")[0],e.params.site=t.siteId.split(":")[1]),!0!==t.useAdUnitCodeAsPlacement&&!0!==e.params.useAdUnitCodeAsPlacement||(e.params.placement=e.adUnitCode),e.params.adUnitElementId=Object(o.deepAccess)(e,"ortb2Imp.ext.data.elementId",null)||e.params.adUnitElementId,e.params.adUnitElementId||(!0===t.useAdUnitCodeAsAdUnitElementId||!0===e.params.useAdUnitCodeAsAdUnitElementId?e.params.adUnitElementId=e.adUnitCode:e.params.adUnitElementId=function(e){var t=Object(o.getGptSlotInfoForAdUnitCode)(e);if(t.divId)return t.divId}(e.adUnitCode)),G(e,"environment"),G(e,"pagetype"),G(e,"category"),G(e,"subcategory")}function z(){if(M()||!R())return"";var e=Object(o.getWindowTop)(),t=e.document.querySelector("body");if(!t)return"";var r=e.document.documentElement,n=Math.max(t.scrollWidth,t.offsetWidth,r.clientWidth,r.scrollWidth,r.offsetWidth),i=Math.max(t.scrollHeight,t.offsetHeight,r.clientHeight,r.scrollHeight,r.offsetHeight);return"".concat(n,"x").concat(i)}function V(){if(!M()&&!R())return"";var e={w:0,h:0};if(M()){var t=Object(o.getWindowSelf)();if("function"!=typeof t.$sf.ext.geom)return Object(o.logWarn)(j,"Unable to compute from safeframe api."),"";var r=t.$sf.ext.geom();if(!r||!r.win)return Object(o.logWarn)(j,"Unable to compute from safeframe api. Missing `geom().win` property"),"";e.w=Math.round(r.w),e.h=Math.round(r.h)}else{var n=Object(o.getWindowTop)();e.w=n.innerWidth,e.h=n.innerHeight}return"".concat(e.w,"x").concat(e.h)}function _(e){if(!e)return"";if(!M()&&!R())return"";var t={x:0,y:0};if(M()){var r=Object(o.getWindowSelf)();if("function"!=typeof r.$sf.ext.geom)return Object(o.logWarn)(j,"Unable to compute from safeframe api."),"";var n=r.$sf.ext.geom();if(!n||!n.self)return Object(o.logWarn)(j,"Unable to compute from safeframe api. Missing `geom().self` property"),"";t.x=Math.round(n.t),t.y=Math.round(n.l)}else{if(!R())return"";var i,a=Object(o.getWindowTop)(),s=a.document;if(!0===Object(o.inIframe)()){var c=Object(o.getWindowSelf)(),u=c.document.getElementById(e);i=q.getElementFromTopWindow(u,c)}else i=a.document.getElementById(e);if(!i)return"";var d=i.getBoundingClientRect(),p=s.documentElement,f=s.body,m=s.clientTop||f.clientTop||0,l=s.clientLeft||f.clientLeft||0,h=a.pageYOffset||p.scrollTop||f.scrollTop,g=a.pageXOffset||p.scrollLeft||f.scrollLeft,y=a.getComputedStyle(i,null).display||"block";"none"===y&&(i.style=i.style||{},i.style.display="block",d=i.getBoundingClientRect(),i.style.display=y),t.x=Math.round(d.left+g-l),t.y=Math.round(d.top+h-m)}return"".concat(t.x,"x").concat(t.y)}function H(e,t){return t.bids&&t.bids.length&&i()(t.bids,(function(t){return t.adUnitCode===e})).bidRequestsCount||1}function L(){var e,t=-1;if((e=R()?Object(o.getWindowTop)().performance:Object(o.getWindowSelf)().performance)&&e.timing&&e.timing.navigationStart>0){var r=e.timing.domLoading-e.timing.navigationStart;r>0&&(t=r)}return t}function Z(e){var t,r=P();r.ADAGIO=r.ADAGIO||{},r.ADAGIO.pbjsAdUnits=r.ADAGIO.pbjsAdUnits.filter((function(t){return t.code!==e.adUnitCode})),e.features&&e.features.print_number?t=e.features.print_number:e.params.features&&e.params.features.print_number&&(t=e.params.features.print_number),r.ADAGIO.pbjsAdUnits.push({code:e.adUnitCode,mediaTypes:e.mediaTypes||{},sizes:e.mediaTypes&&e.mediaTypes.banner&&Array.isArray(e.mediaTypes.banner.sizes)?e.mediaTypes.banner.sizes:e.sizes,bids:[{bidder:e.bidder,params:e.params}],auctionId:e.auctionId,pageviewId:q.getPageviewId(),printNumber:t}),r.ADAGIO.adUnits[e.adUnitCode]={auctionId:e.auctionId,pageviewId:q.getPageviewId(),printNumber:t}}var J={code:I,gvlid:617,supportedMediaTypes:D,isBidRequestValid:function(e){return e.params=e.params||{},F(e),!!(e.params.organizationId&&e.params.site&&e.params.placement)||(Object(o.logWarn)("".concat(j," at least one required param is missing.")),!1)},buildRequests:function(e,t){var r,n="https:"===location.protocol?1:0,i=q.getDevice(),s=q.getSite(t),c=q.getPageviewId(),u=function(e){if(!Object(o.deepAccess)(e,"gdprConsent"))return!1;var t=e.gdprConsent,r=t.apiVersion,n=t.gdprApplies,i=t.consentString,a=t.allowAuctionWithoutConsent;return Object(o.cleanObj)({apiVersion:r,consentString:i,consentRequired:n?1:0,allowAuctionWithoutConsent:a?1:0})}(t)||{},d=function(e){return!!Object(o.deepAccess)(e,"uspConsent")&&{uspConsent:e.uspConsent}}(t)||{},p={required:!0===a.b.getConfig("coppa")?1:0},l=(r=e[0],Object(o.deepAccess)(r,"schain")),g=function(e){if(Object(o.deepAccess)(e,"userId"))return Object(f.b)(e.userId)}(e[0])||[],b=Object(o._map)(e,(function(e){var r=y(y({},k.getOrSetGlobalFeatures()),{},{print_number:H(e.adUnitCode,t).toString(),adunit_position:_(e.params.adUnitElementId)});return Object.keys(r).forEach((function(e){""===r[e]&&delete r[e]})),e.features=r,q.enqueue({action:"features",ts:Date.now(),data:{features:e.features,params:e.params,adUnitCode:e.adUnitCode}}),e.floors=function(e){if(!Object(o.isFn)(e.getFloor))return!1;var t=[],r=function(r,n){var i=e.getFloor({currency:"USD",mediaType:r,size:[]});t.push(Object(o.cleanObj)({mt:r,s:Object(o.isArray)(n)?"".concat(n[0],"x").concat(n[1]):void 0,f:isNaN(i.floor)||"USD"!==i.currency?.1:i.floor}))};return Object.keys(e.mediaTypes).forEach((function(t){if(-1!==D.indexOf(t)){var n=t===m.d?"playerSize":"sizes";e.mediaTypes[t][n]&&e.mediaTypes[t][n].length?Object(o.isArray)(e.mediaTypes[t][n][0])?e.mediaTypes[t][n].forEach((function(e){r(t,[e[0],e[1]])})):r(t,[e.mediaTypes[t][n][0],e.mediaTypes[t][n][1]]):r(t,"*")}})),t}(e),Object(o.deepAccess)(e,"mediaTypes.video")&&function(e){var t=Object(o.deepAccess)(e,"mediaTypes.video",{}),r=Object(o.deepAccess)(e,"params.video",{}),n={};if(Array.isArray(t.playerSize)){var i=Array.isArray(t.playerSize[0])?t.playerSize[0]:t.playerSize;n.w=i[0],n.h=i[1]}var a=y(y(y({},n),t),r);a.context&&a.context===h.b&&(e.mediaTypes.video.playerName=W(e)),Object.keys(E).forEach((function(t){a.hasOwnProperty(t)&&(E[t](a[t])?e.mediaTypes.video[t]=a[t]:(delete e.mediaTypes.video[t],Object(o.logWarn)("".concat(j," The OpenRTB video param ").concat(t," has been skipped due to misformating. Please refer to OpenRTB 2.5 spec."))))}))}(e),Z(e),e})).reduce((function(e,t){var r=Object(o.deepClone)(t);return r.params.organizationId=r.params.organizationId.toString(),delete r.floorData,delete r.params.siteId,e[r.params.organizationId]=e[r.params.organizationId]||[],e[r.params.organizationId].push(r),e}),{});return Object(o._map)(Object.keys(b),(function(e){return{method:"POST",url:T,data:{id:Object(o.generateUUID)(),organizationId:e,secure:n,device:i,site:s,pageviewId:c,adUnits:b[e],data:k.getExchangeData(),regs:{gdpr:u,coppa:p,ccpa:d},schain:l,user:{eids:g},prebidVersion:"6.13.0",featuresVersion:"1"},options:{contentType:"text/plain"}}}))},interpretResponse:function(e,t){var r=[];try{var n=e.body;n&&(n.data&&q.enqueue({action:"ssp-data",ts:Date.now(),data:n.data}),n.bids&&n.bids.forEach((function(e){var n=i()(t.data.adUnits,(function(t){return t.bidId===e.requestId}));if(n){if(e.meta=Object(o.deepAccess)(e,"meta",{}),e.meta.mediaType=e.mediaType,e.meta.advertiserDomains=Array.isArray(e.aDomain)&&e.aDomain.length?e.aDomain:[],e.mediaType===m.d){var a=Object(o.deepAccess)(n,"mediaTypes.video.context");!e.vastUrl&&e.vastXml&&(e.vastUrl="data:text/xml;charset=utf-8;base64,"+btoa(e.vastXml.replace(/\\"/g,'"'))),a===h.b&&(e.renderer=l.a.install({id:e.requestId,adUnitCode:e.adUnitCode,url:e.urlRenderer||S,config:y(y({},Object(o.deepAccess)(n,"mediaTypes.video")),Object(o.deepAccess)(e,"outstream",{}))}),e.renderer.setRender(N))}e.mediaType===m.c&&B(e),e.site=n.params.site,e.placement=n.params.placement,e.pagetype=n.params.pagetype,e.category=n.params.category,e.subcategory=n.params.subcategory,e.environment=n.params.environment}r.push(e)})))}catch(e){Object(o.logError)(e)}return r},getUserSyncs:function(e,t){return!(!t.length||""===t[0].body||!t[0].body.userSyncs)&&t[0].body.userSyncs.map((function(e){return{type:"p"===e.t?"image":"iframe",url:e.u}}))},transformBidParams:function(e,t,r,n){var a=i()(n,(function(e){return"adagio"===e.bidderCode})),s=i()(a.bids,(function(e){return e.adUnitCode===r.code}));if(t){F(s),s.params.auctionId=Object(o.deepAccess)(a,"auctionId");var c=k.getOrSetGlobalFeatures();s.params.features=y(y({},c),{},{print_number:H(s.adUnitCode,a).toString(),adunit_position:_(s.params.adUnitElementId)}),s.params.pageviewId=q.getPageviewId(),s.params.prebidVersion="6.13.0",s.params.data=k.getExchangeData(),Object(o.deepAccess)(s,"mediaTypes.video.context")===h.b&&(s.params.playerName=W(s)),Z(s)}return s.params}};!function(){R()&&(v=R()?Object(o.getWindowTop)():Object(o.getWindowSelf)());var e=q.getCurrentWindow();e.ADAGIO=e.ADAGIO||{},e.ADAGIO.adUnits=e.ADAGIO.adUnits||{},e.ADAGIO.pbjsAdUnits=e.ADAGIO.pbjsAdUnits||[],e.ADAGIO.queue=e.ADAGIO.queue||[],e.ADAGIO.versions=e.ADAGIO.versions||{},e.ADAGIO.versions.pbjs="6.13.0",e.ADAGIO.isSafeFrameWindow=M(),x.getDataFromLocalStorage("adagio",(function(e){try{k.prepareExchangeData(e)}catch(e){Object(o.logError)(j,e)}})),C()}(),Object(s.registerBidder)(J),window.tmzr.installedModules.push("adagioBidAdapter")},77:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(78),i=r(79);t.verify=function(e,t,r,o){var a=new n.BigInteger(n.b64toHex(t)),s=new n.BigInteger(n.b64toHex(r)),c=a.modPowInt(o,s);return n.removeExtraSymbols(c.toHexString())===i.Sha256.hash(e)}},78:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e){null!==e&&this.fromHexString(e)}return e.prototype.toHexString=function(){if(this.s<0)return"-"+this.negate().toHexString();var e,t=!1,r="",n=this.t,i=this.DB-n*this.DB%4;if(n-- >0)for(i<this.DB&&(e=this[n]>>i)>0&&(t=!0,r=p(e));n>=0;)i<4?(e=(this[n]&(1<<i)-1)<<4-i,e|=this[--n]>>(i+=this.DB-4)):(e=this[n]>>(i-=4)&15,i<=0&&(i+=this.DB,--n)),e>0&&(t=!0),t&&(r+=p(e));return t?r:"0"},e.prototype.fromHexString=function(t){if(null!==t){this.t=0,this.s=0;for(var r=t.length,n=!1,i=0;--r>=0;){var o=d(t,r);o<0?"-"==t.charAt(r)&&(n=!0):(n=!1,0==i?this[this.t++]=o:i+4>this.DB?(this[this.t-1]|=(o&(1<<this.DB-i)-1)<<i,this[this.t++]=o>>this.DB-i):this[this.t-1]|=o<<i,(i+=4)>=this.DB&&(i-=this.DB))}0,this.clamp(),n&&e.ZERO.subTo(this,this)}},e.prototype.negate=function(){var t=o();return e.ZERO.subTo(this,t),t},e.prototype.abs=function(){return this.s<0?this.negate():this},e.prototype.mod=function(t){var r=o();return this.abs().divRemTo(t,null,r),this.s<0&&r.compareTo(e.ZERO)>0&&t.subTo(r,r),r},e.prototype.copyTo=function(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},e.prototype.lShiftTo=function(e,t){for(var r=e%this.DB,n=this.DB-r,i=(1<<n)-1,o=Math.floor(e/this.DB),a=this.s<<r&this.DM,s=this.t-1;s>=0;--s)t[s+o+1]=this[s]>>n|a,a=(this[s]&i)<<r;for(s=o-1;s>=0;--s)t[s]=0;t[o]=a,t.t=this.t+o+1,t.s=this.s,t.clamp()},e.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t},e.prototype.dlShiftTo=function(e,t){var r;for(r=this.t-1;r>=0;--r)t[r+e]=this[r];for(r=e-1;r>=0;--r)t[r]=0;t.t=this.t+e,t.s=this.s},e.prototype.squareTo=function(e){for(var t=this.abs(),r=e.t=2*t.t;--r>=0;)e[r]=0;for(r=0;r<t.t-1;++r){var n=t.am(r,t[r],e,2*r,0,1);(e[r+t.t]+=t.am(r+1,2*t[r],e,2*r+1,n,t.t-r-1))>=t.DV&&(e[r+t.t]-=t.DV,e[r+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(r,t[r],e,2*r,0,1)),e.s=0,e.clamp()},e.prototype.multiplyTo=function(t,r){var n=this.abs(),i=t.abs(),o=n.t;for(r.t=o+i.t;--o>=0;)r[o]=0;for(o=0;o<i.t;++o)r[o+n.t]=n.am(0,i[o],r,o,0,n.t);r.s=0,r.clamp(),this.s!=t.s&&e.ZERO.subTo(r,r)},e.prototype.divRemTo=function(t,r,n){var i=t.abs();if(!(i.t<=0)){var s=this.abs();if(s.t<i.t)return null!=r&&r.fromHexString("0"),void(null!=n&&this.copyTo(n));null==n&&(n=o());var c=o(),u=this.s,d=t.s,p=this.DB-a(i[i.t-1]);p>0?(i.lShiftTo(p,c),s.lShiftTo(p,n)):(i.copyTo(c),s.copyTo(n));var f=c.t,m=c[f-1];if(0!=m){var l=m*(1<<this.F1)+(f>1?c[f-2]>>this.F2:0),h=this.FV/l,g=(1<<this.F1)/l,y=1<<this.F2,b=n.t,v=b-f,O=null==r?o():r;for(c.dlShiftTo(v,O),n.compareTo(O)>=0&&(n[n.t++]=1,n.subTo(O,n)),e.ONE.dlShiftTo(f,O),O.subTo(c,c);c.t<f;)c[c.t++]=0;for(;--v>=0;){var A=n[--b]==m?this.DM:Math.floor(n[b]*h+(n[b-1]+y)*g);if((n[b]+=c.am(0,A,n,v,0,f))<A)for(c.dlShiftTo(v,O),n.subTo(O,n);n[b]<--A;)n.subTo(O,n)}null!=r&&(n.drShiftTo(f,r),u!=d&&e.ZERO.subTo(r,r)),n.t=f,n.clamp(),p>0&&n.rShiftTo(p,n),u<0&&e.ZERO.subTo(n,n)}}},e.prototype.rShiftTo=function(e,t){t.s=this.s;var r=Math.floor(e/this.DB);if(r>=this.t)t.t=0;else{var n=e%this.DB,i=this.DB-n,o=(1<<n)-1;t[0]=this[r]>>n;for(var a=r+1;a<this.t;++a)t[a-r-1]|=(this[a]&o)<<i,t[a-r]=this[a]>>n;n>0&&(t[this.t-r-1]|=(this.s&o)<<i),t.t=this.t-r,t.clamp()}},e.prototype.drShiftTo=function(e,t){for(var r=e;r<this.t;++r)t[r-e]=this[r];t.t=Math.max(this.t-e,0),t.s=this.s},e.prototype.subTo=function(e,t){for(var r=0,n=0,i=Math.min(e.t,this.t);r<i;)n+=this[r]-e[r],t[r++]=n&this.DM,n>>=this.DB;if(e.t<this.t){for(n-=e.s;r<this.t;)n+=this[r],t[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<e.t;)n-=e[r],t[r++]=n&this.DM,n>>=this.DB;n-=e.s}t.s=n<0?-1:0,n<-1?t[r++]=this.DV+n:n>0&&(t[r++]=n),t.t=r,t.clamp()},e.prototype.clamp=function(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t},e.prototype.modPowInt=function(e,t){var r;return r=e<256||t.isEven()?new f(t):new m(t),this.exp(e,r)},e.prototype.exp=function(t,r){if(t>4294967295||t<1)return e.ONE;var n=o(),i=o(),s=r.convert(this),c=a(t)-1;for(s.copyTo(n);--c>=0;)if(r.sqrTo(n,i),(t&1<<c)>0)r.mulTo(i,s,n);else{var u=n;n=i,i=u}return r.revert(n)},e.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},e.prototype.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var r=this.t;if(0!=(t=r-e.t))return this.s<0?-t:t;for(;--r>=0;)if(0!=(t=this[r]-e[r]))return t;return 0},e.prototype.am1=function(e,t,r,n,i,o){for(;--o>=0;){var a=t*this[e++]+r[n]+i;i=Math.floor(a/67108864),r[n++]=67108863&a}return i},e.prototype.am2=function(e,t,r,n,i,o){for(var a=32767&t,s=t>>15;--o>=0;){var c=32767&this[e],u=this[e++]>>15,d=s*c+u*a;i=((c=a*c+((32767&d)<<15)+r[n]+(1073741823&i))>>>30)+(d>>>15)+s*u+(i>>>30),r[n++]=1073741823&c}return i},e.prototype.am3=function(e,t,r,n,i,o){for(var a=16383&t,s=t>>14;--o>=0;){var c=16383&this[e],u=this[e++]>>14,d=s*c+u*a;i=((c=a*c+((16383&d)<<14)+r[n]+i)>>28)+(d>>14)+s*u,r[n++]=268435455&c}return i},e}();function o(){return new i(null)}function a(e){var t,r=1;return 0!=(t=e>>>16)&&(e=t,r+=16),0!=(t=e>>8)&&(e=t,r+=8),0!=(t=e>>4)&&(e=t,r+=4),0!=(t=e>>2)&&(e=t,r+=2),0!=(t=e>>1)&&(e=t,r+=1),r}t.BigInteger=i,t.nbi=o,t.nbits=a;var s,c,u=[];for(s="0".charCodeAt(0),c=0;c<=9;++c)u[s++]=c;for(s="a".charCodeAt(0),c=10;c<36;++c)u[s++]=c;for(s="A".charCodeAt(0),c=10;c<36;++c)u[s++]=c;function d(e,t){var r=u[e.charCodeAt(t)];return null==r?-1:r}t.intAt=d;function p(e){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(e)}t.int2char=p;t.b64toHex=function(e){var t,r="",n=0,i=0;for(t=0;t<e.length&&"="!=e.charAt(t);++t){var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(e.charAt(t));o<0||(0==n?(r+=p(o>>2),i=3&o,n=1):1==n?(r+=p(i<<2|o>>4),i=15&o,n=2):2==n?(r+=p(i),r+=p(o>>2),i=3&o,n=3):(r+=p(i<<2|o>>4),r+=p(15&o),n=0))}return 1==n&&(r+=p(i<<2)),r},t.removeExtraSymbols=function(e){return e.replace(/^1f+00/,"").replace("3031300d060960864801650304020105000420","")};var f=function(){function e(e){this.m=e}return e.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},e.prototype.revert=function(e){return e},e.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},e.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}(),m=function(){function e(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}return e.prototype.convert=function(e){var t=o();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(i.ZERO)>0&&this.m.subTo(t,t),t},e.prototype.revert=function(e){var t=o();return e.copyTo(t),this.reduce(t),t},e.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t<this.m.t;++t){var r=32767&e[t],n=r*this.mpl+((r*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(e[r=t+this.m.t]+=this.m.am(0,n,e,t,0,this.m.t);e[r]>=e.DV;)e[r]-=e.DV,e[++r]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},e.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}();function l(e){var t=o();return t.fromHexString(e.toString()),t}t.nbv=l,i.ZERO=l(0),i.ONE=l(1),"Microsoft Internet Explorer"==navigator.appName?(i.prototype.am=i.prototype.am2,n=30):"Netscape"!=navigator.appName?(i.prototype.am=i.prototype.am1,n=26):(i.prototype.am=i.prototype.am3,n=28),i.prototype.DB=n,i.prototype.DM=(1<<n)-1,i.prototype.DV=1<<n;i.prototype.FV=Math.pow(2,52),i.prototype.F1=52-n,i.prototype.F2=2*n-52},79:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.hash=function(t){t=e.utf8Encode(t||"");for(var r=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],n=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],i=(t+=String.fromCharCode(128)).length/4+2,o=Math.ceil(i/16),a=new Array(o),s=0;s<o;s++){a[s]=new Array(16);for(var c=0;c<16;c++)a[s][c]=t.charCodeAt(64*s+4*c)<<24|t.charCodeAt(64*s+4*c+1)<<16|t.charCodeAt(64*s+4*c+2)<<8|t.charCodeAt(64*s+4*c+3)<<0}var u=8*(t.length-1)/Math.pow(2,32),d=8*(t.length-1)>>>0;a[o-1][14]=Math.floor(u),a[o-1][15]=d;for(s=0;s<o;s++){for(var p=new Array(64),f=0;f<16;f++)p[f]=a[s][f];for(f=16;f<64;f++)p[f]=e.q1(p[f-2])+p[f-7]+e.q0(p[f-15])+p[f-16]>>>0;var m=n[0],l=n[1],h=n[2],g=n[3],y=n[4],b=n[5],v=n[6],O=n[7];for(f=0;f<64;f++){var A=O+e.z1(y)+e.Ch(y,b,v)+r[f]+p[f],I=e.z0(m)+e.Maj(m,l,h);O=v,v=b,b=y,y=g+A>>>0,g=h,h=l,l=m,m=A+I>>>0}n[0]=n[0]+m>>>0,n[1]=n[1]+l>>>0,n[2]=n[2]+h>>>0,n[3]=n[3]+g>>>0,n[4]=n[4]+y>>>0,n[5]=n[5]+b>>>0,n[6]=n[6]+v>>>0,n[7]=n[7]+O>>>0}var j=new Array(n.length);for(O=0;O<n.length;O++)j[O]=("00000000"+n[O].toString(16)).slice(-8);return j.join("")},e.utf8Encode=function(e){try{return(new TextEncoder).encode(e).reduce((function(e,t){return e+String.fromCharCode(t)}),"")}catch(t){return unescape(encodeURIComponent(e))}},e.ROTR=function(e,t){return t>>>e|t<<32-e},e.z0=function(t){return e.ROTR(2,t)^e.ROTR(13,t)^e.ROTR(22,t)},e.z1=function(t){return e.ROTR(6,t)^e.ROTR(11,t)^e.ROTR(25,t)},e.q0=function(t){return e.ROTR(7,t)^e.ROTR(18,t)^t>>>3},e.q1=function(t){return e.ROTR(17,t)^e.ROTR(19,t)^t>>>10},e.Ch=function(e,t,r){return e&t^~e&r},e.Maj=function(e,t,r){return e&t^e&r^t&r},e}();t.Sha256=n}},[186]);
tmzrChunk([404],{192:function(e,t,r){e.exports=r(193)},193:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r.d(t,"spec",(function(){return v}));var n=r(1),i=r(2),a=r(0),o=r(3),d=r(13);function s(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||u(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,a=[],o=!0,d=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);o=!0);}catch(e){d=!0,i=e}finally{try{o||null==r.return||r.return()}finally{if(d)throw i}}return a}(e,t)||u(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){if(e){if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var m=o.b.getConfig,f={0:"title",2:"icon",3:"image",5:"sponsoredBy",4:"body",1:"cta"},y={title:{id:0,name:"title"},icon:{id:2,type:1,name:"img"},image:{id:3,type:3,name:"img"},sponsoredBy:{id:5,name:"data",type:1},body:{id:4,name:"data",type:2},cta:{id:1,type:12,name:"data"}},v={code:"adf",aliases:[{code:"adformOpenRTB",gvlid:50},{code:"adform",gvlid:50}],gvlid:50,supportedMediaTypes:[i.c,i.b,i.d],isBidRequestValid:function(e){var t=e.params||{},r=t.mid,n=t.inv,i=t.mname;return!!(r||n&&i)},buildRequests:function(e,t){var r,n,i=m("ortb2")||{},o=i.user;"object"===l(m("app"))?(r=m("app")||{},i.app&&Object(a.mergeDeep)(r,i.app)):(n=m("site")||{},i.site&&Object(a.mergeDeep)(n,i.site),n.page||(n.page=t.refererInfo.referer));var d=m("device")||{};d.w=d.w||window.innerWidth,d.h=d.h||window.innerHeight,d.ua=d.ua||navigator.userAgent;var s=b(e,"params.adxDomain")||"adx.adform.net",u=b(e,"params.pt")||b(e,"params.priceType")||"net",p=e[0].transactionId,f=b(e,"params.test"),v=m("currency.adServerCurrency"),h=v&&[v],j=b(e,"userIdAsEids"),w=b(e,"schain"),S=e.map((function(e,t){e.netRevenue=u;var r=e.getFloor?e.getFloor({currency:v||"USD"}):{},n=r.floor,i=r.currency,o=e.params,d={id:t+1,tagid:o.mid,bidfloor:n,bidfloorcur:i,ext:{bidder:{inv:o.inv,mname:o.mname}}},s=Object(a._map)(e.nativeParams,(function(e,t){var r=y[t],n={required:1&e.required};if(r){var i,a,o,d;n.id=r.id;var s=e.aspect_ratios;if(s&&s[0]&&(i=(s=s[0]).min_width||0,a=s.ratio_height*i/s.ratio_width|0),e.sizes){var c=g(e.sizes);o=c[0],d=c[1]}return n[r.name]={len:e.len,type:r.type,wmin:i,hmin:a,w:o,h:d},n}})).filter(Boolean);s.length&&(d.native={request:{assets:s}});var p=Object(a.deepAccess)(e,"mediaTypes.banner");if(p&&p.sizes){var l=Object(a.parseSizesInput)(p.sizes).map((function(e){var t=c(e.split("x"),2),r=t[0],n=t[1];return{w:parseInt(r,10),h:parseInt(n,10)}}));d.banner={format:l}}var m=Object(a.deepAccess)(e,"mediaTypes.video");return m&&(d.video=m),d})),O={id:t.auctionId,site:n,app:r,user:o,device:d,source:{tid:p,fd:1},ext:{pt:u},cur:h,imp:S};return f&&(O.is_debug=!!f,O.test=1),void 0!==Object(a.deepAccess)(t,"gdprConsent.gdprApplies")&&(Object(a.deepSetValue)(O,"user.ext.consent",t.gdprConsent.consentString),Object(a.deepSetValue)(O,"regs.ext.gdpr",1&t.gdprConsent.gdprApplies)),t.uspConsent&&Object(a.deepSetValue)(O,"regs.ext.us_privacy",t.uspConsent),j&&Object(a.deepSetValue)(O,"user.ext.eids",j),w&&Object(a.deepSetValue)(O,"source.ext.schain",w),{method:"POST",url:"https://"+s+"/adx/openrtb",data:JSON.stringify(O),options:{contentType:"application/json"},bids:e}},interpretResponse:function(e,t){var r=t.bids;if(e.body){var n=e.body,o=n.seatbid,s=n.cur,c=g(o.map((function(e){return e.bid}))).reduce((function(e,t){return e[t.impid-1]=t,e}),[]);return r.map((function(e,t){var r=c[t];if(r){var n=Object(a.deepAccess)(r,"ext.prebid.type"),o={requestId:e.bidId,cpm:r.price,creativeId:r.crid,ttl:360,netRevenue:"net"===e.netRevenue,currency:s,mediaType:n,width:r.w,height:r.h,dealId:r.dealid,meta:{mediaType:n,advertiserDomains:r.adomain}};return r.native?o.native=function(e){var t=e.native,r=t.assets,n=t.link,i=t.imptrackers,a=t.jstracker,o={clickUrl:n.url,clickTrackers:n.clicktrackers||void 0,impressionTrackers:i||void 0,javascriptTrackers:a?[a]:void 0};return r.forEach((function(e){var t=f[e.id],r=t&&e[y[t].name];r&&(o[t]=r.text||r.value||{url:r.url,width:r.w,height:r.h})})),o}(r):o[n===i.d?"vastXml":"ad"]=r.adm,e.renderer||n!==i.d||"outstream"!==Object(a.deepAccess)(e,"mediaTypes.video.context")||(o.renderer=d.a.install({id:e.bidId,url:"https://s2.adform.net/banners/scripts/video/outstream/render.js",adUnitCode:e.adUnitCode}),o.renderer.setRender(h)),o}})).filter(Boolean)}}};function b(e,t){for(var r,n=0;n<e.length;n++)if(r=Object(a.deepAccess)(e[n],t))return r}function g(e){var t;return(t=[]).concat.apply(t,s(e))}function h(e){e.renderer.push((function(){window.Adform.renderOutstream(e)}))}Object(n.registerBidder)(v),window.tmzr.installedModules.push("adfBidAdapter")}},[192]);
tmzrChunk([397],{213:function(e,r,n){e.exports=n(214)},214:function(e,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),n.d(r,"spec",(function(){return s}));var t=n(0),o=n(1),i=n(3),d=n(2),s={code:"admixer",aliases:["go2net","adblender","adsyield","futureads"],supportedMediaTypes:[d.b,d.d,d.c],isBidRequestValid:function(e){return!!e.params.zone},buildRequests:function(e,r){var n,t;do{n=n?n.parent:window;try{t=n.document.referrer}catch(e){break}}while(n!==window.top);var o,d={imps:[],ortb2:i.b.getConfig("ortb2"),docReferrer:t};if(r){var s=r.bidderCode;o=i.b.getConfig("".concat(s,".endpoint_url")),r.refererInfo&&r.refererInfo.referer&&(d.referrer=encodeURIComponent(r.refererInfo.referer)),r.gdprConsent&&(d.gdprConsent={consentString:r.gdprConsent.consentString,gdprApplies:"boolean"!=typeof r.gdprConsent.gdprApplies||r.gdprConsent.gdprApplies}),r.uspConsent&&(d.uspConsent=r.uspConsent)}return e.forEach((function(e){var r={};Object.keys(e).forEach((function(n){return r[n]=e[n]})),d.imps.push(r)})),{method:"POST",url:o||"https://inv-nets.admixer.net/prebid.1.2.aspx",data:d}},interpretResponse:function(e,r){var n=[];try{var o=e.body,i=(o=void 0===o?{}:o).ads;(void 0===i?[]:i).forEach((function(e){return n.push(e)}))}catch(e){Object(t.logError)(e)}return n},getUserSyncs:function(e,r,n){var t=[];return r.forEach((function(r){var n=r.body,o=(n=void 0===n?{}:n).cm,i=void 0===o?{}:o,d=i.pixels,s=void 0===d?[]:d,a=i.iframes,p=void 0===a?[]:a;e.pixelEnabled&&s.forEach((function(e){return t.push({type:"image",url:e})})),e.iframeEnabled&&p.forEach((function(e){return t.push({type:"iframe",url:e})}))})),t}};Object(o.registerBidder)(s),window.tmzr.installedModules.push("admixerBidAdapter")}},[213]);
tmzrChunk([387],{238:function(t,e,r){t.exports=r(239)},239:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),r.d(e,"spec",(function(){return u}));var n=r(2),i=r(1),a=r(0);function o(t){return function(t){if(Array.isArray(t))return d(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return d(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var u={code:"adpone",supportedMediaTypes:[n.b],isBidRequestValid:function(t){return!!t.params.placementId&&!!t.bidId&&"adpone"===t.bidder},buildRequests:function(t,e){return t.map((function(t){var r="https://rtb.adpone.com/bid-request?pid="+t.params.placementId,n={at:1,id:t.bidId,imp:t.sizes.map((function(e,r){return{id:t.bidId+"_"+r,banner:{w:e[0],h:e[1]}}}))};return e&&e.gdprConsent&&(r+="&gdpr_applies="+e.gdprConsent.gdprApplies,r+="&consentString="+e.gdprConsent.consentString),{method:"POST",url:r,data:n,options:{withCredentials:!0}}}))},interpretResponse:function(t,e){if(!t||!t.body)return[];var r=[];return t.body.seatbid.forEach((function(n){n.bid.length&&(r=[].concat(o(r),o(n.bid.filter((function(t){return t.price>0})).map((function(r){var n={id:r.id,requestId:e.data.id,cpm:r.price,ad:r.adm,width:r.w||0,height:r.h||0,currency:t.body.cur||"EUR",netRevenue:!0,ttl:300,creativeId:r.crid||0};return r.meta&&r.meta.adomain&&r.meta.adomain.length>0&&(n.meta={},n.meta.advertiserDomains=r.meta.adomain),n})))))})),r},onBidWon:function(t){var e=JSON.stringify(t),r=window.btoa(e);Object(a.triggerPixel)("https://rtb.adpone.com/prebid/analytics?q=".concat(r))}};Object(i.registerBidder)(u),window.tmzr.installedModules.push("adponeBidAdapter")}},[238]);
tmzrChunk([382],{248:function(e,r,t){e.exports=t(249)},249:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),t.d(r,"spec",(function(){return d}));var o=t(0),i=t(1);function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var d={code:"adriver",isBidRequestValid:function(e){return!!e.params.siteid},buildRequests:function(e,r){Object(o.logInfo)("validBidRequests",e);var t=Object(o.getWindowLocation)(),i=Math.round(999999999*Math.random())+"-"+Math.round(new Date/1e3)+"-1-46-",d=Object(o.getBidIdParameter)("siteid",e[0].params)+"",u=Object(o.getBidIdParameter)("currency",e[0].params);u="RUB";var c=null;r&&(c=r.timeout);var s={at:1,cur:[u],tmax:c,site:{name:t.origin,domain:t.hostname,id:d,page:t.href},id:i,user:{buyerid:0,ext:{eids:a(e)}},device:{ip:"195.209.111.14",ua:window.navigator.userAgent},imp:[]};return Object(o._each)(e,(function(e){Object(o._each)(e.sizes,(function(r){var t,i,d,a=function(e,r,t){var o=e.mediaTypes&&e.mediaTypes.video?"video":"banner",i=0,d=r||"RUB",a="",u=!1;"number"==typeof t[0]&&"number"==typeof t[1]&&(u=!0);if("function"==typeof e.getFloor){var c=e.getFloor({currency:d,mediaType:o,size:u?t:"*"});"object"!==n(c)||isNaN(parseFloat(c.floor))||(i=c.floor),"object"===n(c)&&c.currency&&(a=c.currency)}a||(a=d);null==i&&(i=0);return{floor:i,currency:a}}(e,u,r),c=a.floor,p=Object(o.getBidIdParameter)("dealid",e.params);"number"==typeof r[0]&&"number"==typeof r[1]&&(t=r[0],i=r[1]),d={id:e.params.placementId,ext:{query:"bn=15&custom=111="+e.bidId},banner:{w:t||void 0,h:i||void 0},bidfloor:c||0,bidfloorcur:a.currency,secure:0},p&&(d.pmp={private_auction:1,deals:[{id:p,bidfloor:c||0,bidfloorcur:u}]}),Object(o.logInfo)("par",d),s.imp.push(d)}))})),{method:"POST",url:"https://pb.adriver.ru/cgi-bin/bid.cgi",data:JSON.stringify(s)}},interpretResponse:function(e,r){Object(o.logInfo)("serverResponse.body.seatbid",e.body.seatbid);var t=[],i=0;return Object(o._each)(e.body.seatbid,(function(r){Object(o.logInfo)("_each",r);var n=r.bid[0];if(void 0!==n.nurl&&(i=n.nurl.split("://"),i=(i=window.location.protocol+"//"+i[1]).replace(/\$\{AUCTION_PRICE\}/,n.price)),n.price>=0&&void 0!==n.impid&&0!==i&&void 0===n.dealid){var d={requestId:n.ext||void 0,cpm:n.price,width:n.w,height:n.h,creativeId:n.impid||void 0,currency:e.body.cur,netRevenue:!0,ttl:3e3,meta:{advertiserDomains:n.adomain},ad:'<IFRAME SRC="'+n.nurl+'" FRAMEBORDER="0" SCROLLING="no" MARGINHEIGHT="0" MARGINWIDTH="0" TOPMARGIN="0" LEFTMARGIN="0" ALLOWTRANSPARENCY="true" STYLE ="WIDTH:'+n.w+"px; HEIGHT:"+n.h+'px"></IFRAME>'};Object(o.logInfo)("bidResponse",d),t.push(d)}})),t}};function a(e){return e&&e.length>0&&e[0].userIdAsEids&&e[0].userIdAsEids.length>0?e[0].userIdAsEids:[]}Object(i.registerBidder)(d),window.tmzr.installedModules.push("adriverBidAdapter")}},[248]);
tmzrChunk([380],{252:function(e,t,r){e.exports=r(253)},253:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r.d(t,"spec",(function(){return h}));var a=r(0),n=r(1),d=r(2),i=r(3),s=r(13),c=r(11),o=r.n(c);function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(this,arguments)}var p,b=["",1,2],m={default:(p=0,function(){return"ghb"+b[p++%b.length]+".adtelligent.com"}),navelix:function(){return"ghb.hb.navelix.com"},appaloosa:function(){return"ghb.hb.appaloosa.media"},onefiftytwomedia:function(){return"ghb.ads.152media.com"},mediafuse:function(){return"ghb.hbmp.mediafuse.com"},bidsxchange:function(){return"ghb.hbd.bidsxchange.com"},streamkey:function(){return"ghb.hb.streamkey.net"}},f="outstream",l={},h={code:"adtelligent",gvlid:410,aliases:["onefiftytwomedia","selectmedia","appaloosa","bidsxchange","streamkey",{code:"navelix",gvlid:380},{code:"mediafuse",skipPbsAliasing:!0}],supportedMediaTypes:[d.d,d.b],isBidRequestValid:function(e){return!!Object(a.deepAccess)(e,"params.aid")},getUserSyncs:function(e,t){var r=[];function n(t){var a=t.cookieURLs,n=t.cookieURLSTypes||[];Array.isArray(a)&&a.forEach((function(t,a){var d=n[a]||"image";!e.pixelEnabled&&"image"===d||!e.iframeEnabled&&"iframe"===d||l[t]||(l[t]=!0,r.push({type:d,url:t}))}))}return(e.pixelEnabled||e.iframeEnabled)&&Object(a.isArray)(t)&&t.forEach((function(e){e.body&&(Object(a.isArray)(e.body)?e.body.forEach((function(e){n(e)})):n(e.body))})),r},buildRequests:function(e,t){var r=i.b.getConfig(t.bidderCode),n=Object(a.deepAccess)(r,"chunkSize",10),d=function(e,t){var r={Domain:Object(a.deepAccess)(t,"refererInfo.referer")};!0===i.b.getConfig("coppa")&&(r.Coppa=1);Object(a.deepAccess)(t,"gdprConsent.gdprApplies")&&(r.GDPR=1,r.GDPRConsent=Object(a.deepAccess)(t,"gdprConsent.consentString"));Object(a.deepAccess)(t,"uspConsent")&&(r.USP=Object(a.deepAccess)(t,"uspConsent"));Object(a.deepAccess)(e[0],"schain")&&(r.Schain=Object(a.deepAccess)(e[0],"schain"));Object(a.deepAccess)(e[0],"userId")&&(r.UserIds=Object(a.deepAccess)(e[0],"userId"));Object(a.deepAccess)(e[0],"userIdAsEids")&&(r.UserEids=Object(a.deepAccess)(e[0],"userIdAsEids"));window.adtDmp&&window.adtDmp.ready&&(r.DMPId=window.adtDmp.getUID());for(var n=[],d=0,s=e.length;d<s;d++){var c=g(e[d]);n.push(c)}return{tag:r,bids:n}}(e,t),s=d.tag,c=d.bids,o=Object(a.chunk)(c,n);return Object(a._map)(o,(function(e){return{data:u({},s,{BidRequests:e}),adapterRequest:t,method:"POST",url:(r=t.bidderCode,a=r.split("_")[0],"https://"+(m[a]||m.default)()+"/v2/auction/")};var r,a}))},interpretResponse:function(e,t){var r=t.adapterRequest;e=e.body;var n=[];return Object(a.isArray)(e)?(e.forEach((function(e){n=Object(a.flatten)(n,v(e,r))})),n):v(e,r)},transformBidParams:function(e){return Object(a.convertTypes)({aid:"number"},e)}};function v(e,t){var r=!e||!Object(a.isArray)(e.bids),n=[];return r||e.bids.forEach((function(e){var r=o()(t.bids,(function(t){return t.bidId===e.requestId}));if(0!==e.cpm&&void 0!==r){var i=function(e,t){var r=(s=t,Object(a.deepAccess)(s,"mediaTypes.video")?d.d:d.b),n=Object(a.deepAccess)(t,"mediaTypes.video.context"),i={requestId:e.requestId,creativeId:e.cmpId,height:e.height,currency:e.cur,width:e.width,cpm:e.cpm,netRevenue:!0,mediaType:r,ttl:300,meta:{advertiserDomains:e.adomain||[]}};var s;if(r===d.b)return u(i,{ad:e.ad,adUrl:e.adUrl});n===d.a&&u(i,{meta:{primaryCatId:e.primaryCatId},video:{context:d.a,durationSeconds:e.durationSeconds}});u(i,{vastUrl:e.vastUrl}),n===f&&u(i,{adResponse:e,renderer:y(e.requestId,t.params)});return i}(e,r);n.push(i)}})),n}function g(e){var t=Object(a.deepAccess)(e,"mediaTypes.video")?d.d:"display",r=t===d.d?Object(a.deepAccess)(e,"mediaTypes.video.playerSize"):Object(a.deepAccess)(e,"mediaTypes.banner.sizes"),n={CallbackId:e.bidId,Aid:e.params.aid,AdType:t,Sizes:Object(a.parseSizesInput)(r).join(",")};(n.PlacementId=e.adUnitCode,e.params.iframe&&(n.AdmType="iframe"),e.params.vpb_placement_id&&(n.PlacementId=e.params.vpb_placement_id),t===d.d)&&(Object(a.deepAccess)(e,"mediaTypes.video.context")===d.a&&(n.Adpod=Object(a.deepAccess)(e,"mediaTypes.video")));return n}function y(e,t){var r=s.a.install({id:e,url:"https://player.adtelligent.com/outstream-unit/2.01/outstream.min.js",config:t.outstream||{},loaded:!1});return r.setRender(O),r}function O(e){e.renderer.push((function(){var t=u({},e.renderer.getConfig(),{width:e.width,height:e.height,vastUrl:e.vastUrl,elId:e.adUnitCode});window.VOutstreamAPI.initOutstreams([t])}))}Object(n.registerBidder)(h),window.tmzr.installedModules.push("adtelligentBidAdapter")}},[252]);
tmzrChunk([67],{15:function(e,t,r){"use strict";t.b=function(e){var t=[];for(var r in e)if(e.hasOwnProperty(r))if("pubProvidedId"===r)t=t.concat(e.pubProvidedId);else{var i=a(e[r],r);i&&t.push(i)}return t},t.a=function(e){var t=[];return e.filter((function(e){return Object(i.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length})).forEach((function(e){Object.keys(e.idObj).forEach((function(r){Object(i.deepAccess)(e,"config.bidders")&&Array.isArray(e.config.bidders)&&Object(i.deepAccess)(n,r+".source")&&t.push({source:n[r].source,bidders:e.config.bidders})}))})),t};var i=r(0),n={trustpid:{source:"trustpid.com",atype:1,getValue:function(e){return e}},intentIqId:{source:"intentiq.com",atype:1},naveggId:{source:"navegg.com",atype:1},justId:{source:"justtag.com",atype:1},pubcid:{source:"pubcid.org",atype:1},tdid:{source:"adserver.org",atype:1,getUidExt:function(){return{rtiPartner:"TDID"}}},id5id:{getValue:function(e){return e.uid},source:"id5-sync.com",atype:1,getUidExt:function(e){if(e.ext)return e.ext}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var t=Object(i.pick)(e,["ibaOptout","ccpaOptout"]);if(Object.keys(t).length)return t}},idl_env:{source:"liveramp.com",atype:3},lipb:{getValue:function(e){return e.lipbid},source:"liveintent.com",atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},britepoolid:{source:"britepool.com",atype:3},dmdId:{source:"hcn.health",atype:3},lotamePanoramaId:{source:"crwdcntrl.net",atype:1},criteoId:{source:"criteo.com",atype:1},merkleId:{source:"merkleinc.com",atype:3,getValue:function(e){return e.id},getUidExt:function(e){return e&&e.keyID?{keyID:e.keyID}:void 0}},netId:{source:"netid.de",atype:1},IDP:{source:"zeotap.com",atype:1},hadronId:{source:"audigent.com",atype:1},haloId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},nextrollId:{source:"nextroll.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(e){return e.snowflake},source:"novatiq.com",atype:1},uid2:{source:"uidapi.com",atype:3,getValue:function(e){return e.id}},dapId:{source:"akamai.com",atype:1},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3},adtelligentId:{source:"adtelligent.com",atype:3},amxId:{source:"amxrtb.com",atype:1},publinkId:{source:"epsilon.com",atype:3},kpuid:{source:"kpuid.com",atype:3},imuid:{source:"intimatemerger.com",atype:1},connectId:{source:"yahoo.com",atype:3},qid:{source:"adquery.io",atype:1}};function a(e,t){var r=n[t];if(r&&e){var a={};a.source=r.source;var o=Object(i.isFn)(r.getValue)?r.getValue(e):e;if(Object(i.isStr)(o)){var c={id:o,atype:r.atype};if(Object(i.isFn)(r.getUidExt)){var s=r.getUidExt(e);s&&(c.ext=s)}if(a.uids=[c],Object(i.isFn)(r.getEidExt)){var d=r.getEidExt(e);d&&(a.ext=d)}return a}}return null}},268:function(e,t,r){e.exports=r(269)},269:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r.d(t,"spec",(function(){return f}));var i=r(0),n=r(1),a=r(3),o=r(15),c=r(11),s=r.n(c),d=r(2);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e}).apply(this,arguments)}var l="USD",m={image:{required:!0},title:{required:!0},sponsoredBy:{required:!0},clickUrl:{required:!0},body:{required:!1},icon:{required:!1},cta:{required:!1}},f={code:"adyoulike",gvlid:259,supportedMediaTypes:[d.b,d.c,d.d],aliases:["ayl"],isBidRequestValid:function(e){var t=h(v(e)),r=t.width>0&&t.height>0;return e.params&&e.params.placement&&(r||e.mediaTypes&&e.mediaTypes.native)},buildRequests:function(e,t){var r={Version:"1.0",Bids:e.reduce((function(e,t){var r=function(e){if(Object(i.deepAccess)(e,"mediaTypes.banner"))return d.b;if(Object(i.deepAccess)(e,"mediaTypes.video"))return d.d;if(Object(i.deepAccess)(e,"mediaTypes.native"))return d.c}(t),n=v(t),a=h(n);if(e[t.bidId]={},e[t.bidId].PlacementID=t.params.placement,e[t.bidId].TransactionID=t.transactionId,e[t.bidId].Width=a.width,e[t.bidId].Height=a.height,e[t.bidId].AvailableSizes=n.join(","),"function"==typeof t.getFloor&&(e[t.bidId].Pricing=function(e,t,r){var i=e.getFloor({currency:l,mediaType:r,size:[t.width,t.height]});if(!isNaN(i.floor)&&i.currency===l)return i.floor}(t,a,r)),r===d.c){var o=t.mediaTypes.native;"image"===o.type&&(o=p({},m,o)),o.clickUrl={required:!0},e[t.bidId].Native=o}if(r===d.d){e[t.bidId].Video=t.mediaTypes.video;var c=t.mediaTypes.video.playerSize;Array.isArray(c)&&!Array.isArray(c[0])&&(e[t.bidId].Video.playerSize=[c])}return e}),{}),PageRefreshed:y()};t.gdprConsent&&(r.gdprConsent={consentString:t.gdprConsent.consentString,consentRequired:"boolean"==typeof t.gdprConsent.gdprApplies?t.gdprConsent.gdprApplies:null}),t.uspConsent&&(r.uspConsent=t.uspConsent),Object(i.deepAccess)(t,"userId")&&(r.userId=Object(o.b)(t.userId));var n=JSON.stringify(r);return{method:"POST",url:b(e,t),data:n,options:{withCredentials:!0}}},interpretResponse:function(e,t){var r=[],n={};try{n=JSON.parse(t.data).Bids}catch(e){}return e.body.forEach((function(e){var t=function(e,t){if(!e||!e.Ad&&!e.Native&&!e.Vast)return;var r=t&&t[e.BidID];r&&(e.Width&&"0"!==e.Width||(e.Width=r.Width),e.Height&&"0"!==e.Height||(e.Height=r.Height));var n={requestId:e.BidID,ttl:3600,creativeId:e.CreativeID,cpm:e.Price,netRevenue:!0,currency:l,meta:e.Meta||{advertiserDomains:[]}},a=e.Vast||function(e){var t={};if("string"==typeof e.Ad&&e.Ad.indexOf("/*PREBID*/")>0)return t=JSON.parse(e.Ad.match(/\/\*PREBID\*\/(.*)\/\*PREBID\*\//)[1]),Object(i.deepAccess)(t,"Content.MainVideo.Vast")}(e);a?(n.vastXml=window.atob(a),n.mediaType="video"):r.Native?(n.native=function(e,t){if("object"===u(e.Native))return e.Native;var r={},n={},a={};if("string"==typeof e.Ad){n=JSON.parse(e.Ad.match(/\/\*PREBID\*\/(.*)\/\*PREBID\*\//)[1]),a=n.Content.Preview.Text;var o=n.TrackingPrefix+"/pixel?event_kind=IMPRESSION&attempt="+n.Attempt,c=n.TrackingPrefix+"/pixel?event_kind=INSERTION&attempt="+n.Attempt;n.Campaign&&(o+="&campaign="+n.Campaign,c+="&campaign="+n.Campaign),r.clickUrl=n.TrackingPrefix+"/ar?event_kind=CLICK&attempt="+n.Attempt+"&campaign="+n.Campaign+"&url="+encodeURIComponent(n.Content.Landing.Url),n.OnEvents?(r.clickTrackers=k(n.OnEvents.CLICK),r.impressionTrackers=k(n.OnEvents.IMPRESSION),r.javascriptTrackers=k(n.OnEvents.IMPRESSION,!0)):r.impressionTrackers=[],r.impressionTrackers.push(o,c)}return Object.keys(t).map((function(o,c){switch(o){case"title":r[o]=a.TITLE;break;case"body":r[o]=a.DESCRIPTION;break;case"cta":r[o]=a.CALLTOACTION;break;case"sponsoredBy":r[o]=n.Content.Preview.Sponsor.Name;break;case"image":var s=t.image.sizes||[];s.length||(s[0]=e.Width||300,s[1]=e.Height||250);var d=O(n,Object(i.deepAccess)(n,"Content.Preview.Thumbnail.Image"),s[0],s[1]);d&&(r[o]={url:d,width:s[0],height:s[1]});break;case"icon":var u=t.icon.sizes||[];u.length||(u[0]=50,u[1]=50);var p=O(n,Object(i.deepAccess)(n,"Content.Preview.Sponsor.Logo.Resource"),u[0],u[1]);p&&(r[o]={url:p,width:u[0],height:u[1]});break;case"privacyIcon":r[o]=O(n,Object(i.deepAccess)(n,"Content.Preview.Credit.Logo.Resource"),25,25);break;case"privacyLink":r[o]=Object(i.deepAccess)(n,"Content.Preview.Credit.Url")}})),r}(e,r.Native),n.mediaType="native"):(n.width=e.Width,n.height=e.Height,n.ad=e.Ad);return n}(e,n);t&&r.push(t)})),r}};function y(){try{if(performance&&performance.navigation)return performance.navigation.type===performance.navigation.TYPE_RELOAD}catch(e){}return!1}function b(e,t){var r=function(e){var t=s()(e,(function(e){return e.params.DC}));return t?"-"+t.params.DC:""}(e);return Object(i.buildUrl)({protocol:"https",host:"".concat("hb-api").concat(r,".omnitagjs.com"),pathname:"/hb-api/prebid/v1",search:g(t)})}function g(e){var t={};if(e){var r=e.refererInfo;r&&(t.RefererUrl=encodeURIComponent(r.referer),r.numIframes>0&&(t.SafeFrame=!0))}var i=function(){var e;if(window.self!==window.top)try{e=window.top.document.head.querySelector('link[rel="canonical"][href]')}catch(e){}else e=document.head.querySelector('link[rel="canonical"][href]');return e?e.href:""}();i&&(t.CanonicalUrl=encodeURIComponent(i));var n=a.b.getConfig("publisherDomain");return n&&(t.PublisherDomain=encodeURIComponent(n)),t}function v(e){var t=e.sizes||[];return e.mediaTypes&&e.mediaTypes.banner&&(t=e.mediaTypes.banner.sizes||[]),e.params&&Array.isArray(e.params.size)&&(t=e.params.size,Array.isArray(t[0])||(t=[t])),Object(i.parseSizesInput)(t)}function h(e){var t={},r=e[0];if("string"!=typeof r)return t;var i=r.toUpperCase().split("X"),n=parseInt(i[0],10);n&&(t.width=n);var a=parseInt(i[1],10);return a&&(t.height=a),t}function I(e){return e?"https://blobs.omnitagjs.com/blobs/"+e.substr(16,2)+"/"+e.substr(16)+"/"+e:""}function O(e,t,r,i){var n="";if(t&&t.Kind)switch(t.Kind){case"INTERNAL":n=I(t.Data.Internal.BlobReference.Uid);break;case"EXTERNAL":var a=e.DynamicPrefix,o=t.Data.External.Url;if((o=(o=o.replace(/\[height\]/i,""+i)).replace(/\[width\]/i,""+r)).indexOf(a)>=0){var c=/.*url=([^&]*)/gm.exec(o);(n=c?c[1]:"")||(n=I(/.*key=([^&]*)/gm.exec(o)[1]))}else n=o}return n}function k(e,t){var r=[];return e?(e.map((function(e,i){(t&&"JAVASCRIPT_URL"===e.Kind||!t&&"PIXEL_URL"===e.Kind)&&r.push(e.Url)})),r):r}Object(n.registerBidder)(f),window.tmzr.installedModules.push("adyoulikeBidAdapter")}},[268]);
tmzrChunk([369],{280:function(e,t,n){e.exports=n(281)},281:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"spec",(function(){return S}));var r=n(1),c=n(2),i=n(0),o=n(3),a=n(7);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var p=Object(a.b)(737,"amx"),b=/\.com?\.\w{2,4}$/,f=/^\s*<\??(?:vast|xml)/i,m="__amuidpb";function g(e,t){return null==e?[]:e.map(t).reduce((function(e,t){return null!=t&&e.concat(t)}),[])}function h(e){return null!=(t=e.adm)&&f.test(t)?c.d:c.b;var t}var O=function(e,t){return null==e||l(e)===t};function y(e){var t=e.hostname.split("."),n=t.slice(t.length-(b.test(e.hostname)?3:2)).join(".");return btoa(n).replace(/=+$/,"")}var j=encodeURIComponent;function v(){try{return p.getDataFromLocalStorage(m)}catch(e){return null}}function w(e){var t={};return Object(i._each)(e,(function(e){t[e.bidId]=function(e){var t=(l=e.sizes,p=e.mediaTypes,l.concat(Object(i.deepAccess)(p,"".concat(c.b,".sizes"),[])||[]).concat(Object(i.deepAccess)(p,"".concat(c.d,".sizes"),[])||[]).sort((function(e,t){return t[0]*t[1]-e[0]*e[1]}))[0]||[0,0]),n=e.mediaType===c.d||c.d in e.mediaTypes,r=n||t[1]>100,o=Object(i.deepAccess)(e,"params.tagId"),a=null!=e.params&&"string"==typeof e.params.adUnitId?e.params.adUnitId:e.adUnitCode,u=[e.sizes,Object(i.deepAccess)(e,"mediaTypes.".concat(c.b,".sizes"),[])||[],Object(i.deepAccess)(e,"mediaTypes.".concat(c.d,".sizes"),[])||[]],s=Object(i.deepAccess)(e,"mediaTypes.".concat(c.d),{})||{},d={au:a,av:r,vd:s,vr:n,ms:u,aw:t[0],ah:t[1],tf:0,sc:e.schain||{},f:I(C(e))};var l,p;"string"==typeof o&&o.length>0&&(d.i=o);return d}(e)})),t}var A=function(e,t){return Object(i.triggerPixel)("".concat("https://1x1.a-mo.net/hbx/","g_").concat(e,"?").concat(Object(i.formatQS)(s(s({},t),{},{ts:Date.now(),eid:Object(i.getUniqueIdentifierStr)()}))))};function I(e){return"number"==typeof e&&isFinite(e)&&e>0?e:0}function C(e){if(!Object(i.isFn)(e.getFloor))return Object(i.deepAccess)(e,"params.floor",0);try{return e.getFloor({currency:"USD",mediaType:"*",size:"*",bidRequest:e}).floor}catch(e){return Object(i.logError)("call to getFloor failed: ",e),0}}var S={code:"amx",supportedMediaTypes:[c.b,c.d],isBidRequestValid:function(e){return O(Object(i.deepAccess)(e,"params.endpoint",null),"string")&&O(Object(i.deepAccess)(e,"params.tagId",null),"string")},buildRequests:function(e,t){var n,r,c=function(e){var t=e.refererInfo;if(null==t)return Object(i.parseUrl)(location.href);if(t.isAmp&&null!=t.referer)return Object(i.parseUrl)(t.referer);var n=t.numIframes>0&&null!=t.stack[0]?t.stack[0]:location.href;return Object(i.parseUrl)(n)}(t),a=Object(i.deepAccess)(e[0],"params.tagId",null),u=Object(i.deepAccess)(e[0],"params.testMode",0),s=null!=e[0]?e[0]:{bidderRequestsCount:0,bidderWinsCount:0,bidRequestsCount:0};return{data:{a:t.auctionId,B:0,b:c.host,brc:s.bidderRequestsCount||0,bwc:s.bidderWinsCount||0,trc:s.bidRequestsCount||0,tm:(r=u,!0===r||1===r||"true"===r),V:"6.13.0",vg:"tmzr",i:u&&null!=a?a:y(c),l:{},f:.01,cv:"pba1.3.1",st:"prebid",h:screen.height,w:screen.width,gs:Object(i.deepAccess)(t,"gdprConsent.gdprApplies",""),gc:Object(i.deepAccess)(t,"gdprConsent.consentString",""),u:Object(i.deepAccess)(t,"refererInfo.canonicalUrl",c.href),do:c.hostname,re:Object(i.deepAccess)(t,"refererInfo.referer"),am:v(),usp:t.uspConsent||"1---",smt:1,d:"",m:w(e),cpp:o.b.getConfig("coppa")?1:0,fpd2:o.b.getConfig("ortb2"),tmax:o.b.getConfig("bidderTimeout"),eids:(n=e.reduce((function(e,t){return null==t||null==t.userIdAsEids||Object(i._each)(t.userIdAsEids,(function(t){null!=t&&(e[t.source]=t)})),e}),{}),null!=Object.values?Object.values(n):Object.keys(n).map((function(e){return n[e]})))},method:"POST",url:Object(i.deepAccess)(e[0],"params.endpoint","https://prebid.a-mo.net/a/c"),withCredentials:!0}},getUserSyncs:function(e,t){if(null==t||0===t.length)return[];var n=[];return Object(i._each)(t,(function(t){var r=t.body;null!=r&&null!=r.p&&r.p.hreq&&Object(i._each)(r.p.hreq,(function(t){var r=-1!==t.indexOf("__st=iframe")?"iframe":"image";(e.iframeEnabled||"image"===r)&&n.push({url:t,type:r})}))})),n},interpretResponse:function(e,t){var n=e.body;return null==n||"string"==typeof n?[]:(n.am&&"string"==typeof n.am&&function(e){try{p.setDataInLocalStorage(m,e)}catch(e){}}(n.am),g(Object.keys(n.r),(function(e){return g(n.r[e],(function(n){return n.b.map((function(n){var r,o=h(n),a=o===c.b?function(e){var t=Object(i.deepAccess)(e,"ext.himp",[]).concat(null!=e.nurl?[e.nurl]:[]).filter((function(e){return null!=e&&e.length>0})).map((function(e){return'<img src="'.concat(e,'" width="0" height="0"/>')})).join("");return e.adm+t}(n):n.adm;if(null==a)return null;var u=function(e,t,n){if(null!=e.w&&e.w>1&&null!=e.h&&e.h>1)return[e.w,e.h];var r=t.m[n];return null==r?[0,0]:[r.aw,r.ah]}(n,t.data,e),s=o===c.b?240:300;return d(r={requestId:e,cpm:n.price,width:u[0],height:u[1],creativeId:n.crid,currency:"USD",netRevenue:!0},o===c.d?"vastXml":"ad",a),d(r,"meta",{advertiserDomains:n.adomain,mediaType:o}),d(r,"mediaType",o),d(r,"ttl","number"==typeof n.exp?n.exp:s),r}))})).filter((function(e){return null!=e}))})))},onSetTargeting:function(e){var t,n;null!=e&&A("pbst",{A:e.bidder,w:e.width,h:e.height,bid:e.adId,c1:e.mediaType,np:e.cpm,aud:e.requestId,a:e.adUnitCode,c2:(t=e.adserverTargeting,n=[],Object.keys(t||{}).forEach((function(e){n.push(j(e)+"="+j(String(t[e])))})),j(n.join("&")))})},onTimeout:function(e){null!=e&&A("pbto",{A:e.bidder,bid:e.bidId,a:e.adUnitCode,cn:e.timeout,aud:e.auctionId})},onBidWon:function(e){null!=e&&A("pbwin",{A:e.bidder,w:e.width,h:e.height,bid:e.adId,C:e.mediaType===c.b?0:1,np:e.cpm,a:e.adUnitCode})}};Object(r.registerBidder)(S),window.tmzr.installedModules.push("amxBidAdapter")}},[280]);
tmzrChunk([363],{296:function(e,r,t){e.exports=t(82)},82:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),t.d(r,"spec",(function(){return P}));var a=t(0),n=t(13),i=t(3),s=t(1),o=t(2),d=t(18),c=t(11),p=t.n(c),u=t(12),l=t.n(u),m=t(19),f=t(7),b=t(42);function v(e){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function y(){return(y=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e}).apply(this,arguments)}function g(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,r){if(!e)return;if("string"==typeof e)return h(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return h(e,r)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,a=new Array(r);t<r;t++)a[t]=e[t];return a}var _="appnexus",k="https://ib.adnxs.com/ut/v3/prebid",O="https://ib.adnxs-simple.com/ut/v3/prebid",j=["id","minduration","maxduration","skippable","playback_method","frameworks","context","skipoffset"],I=["minduration","maxduration","skip","skipafter","playbackmethod","api"],w=["age","externalUid","segments","gender","dnt","language"],A=["geo","device_id"],x=["enabled","dongle","member_id","debug_timeout"],C={playback_method:{unknown:0,auto_play_sound_on:1,auto_play_sound_off:2,click_to_play:3,mouse_over:4,auto_play_sound_unknown:5},context:{unknown:0,pre_roll:1,mid_roll:2,post_roll:3,outstream:4,"in-banner":5}},S={body:"description",body2:"desc2",cta:"ctatext",image:{serverName:"main_image",requiredParams:{required:!0}},icon:{serverName:"icon",requiredParams:{required:!0}},sponsoredBy:"sponsored_by",privacyLink:"privacy_link",salePrice:"saleprice",displayUrl:"displayurl"},T=/\/\/cdn\.adnxs\.com\/v|\/\/cdn\.adnxs\-simple\.com\/v/,E=Object(f.b)(32,_),P={code:_,gvlid:32,aliases:[{code:"appnexusAst",gvlid:32},{code:"brealtime"},{code:"emxdigital",gvlid:183},{code:"pagescience"},{code:"defymedia"},{code:"gourmetads"},{code:"matomy"},{code:"featureforward"},{code:"oftmedia"},{code:"districtm",gvlid:144},{code:"adasta"},{code:"beintoo",gvlid:618},{code:"blueroostermedia"}],supportedMediaTypes:[o.b,o.d,o.c],isBidRequestValid:function(e){return!!(e.params.placementId||e.params.member&&e.params.invCode)},buildRequests:function(e,r){var t=e.map(z),n=p()(e,B),s={};!0===i.b.getConfig("coppa")&&(s={coppa:!0}),n&&Object.keys(n.params.user).filter((function(e){return l()(w,e)})).forEach((function(e){var r=Object(a.convertCamelToUnderscore)(e);if("segments"===e&&Object(a.isArray)(n.params.user[e])){var t=[];n.params.user[e].forEach((function(e){Object(a.isNumber)(e)?t.push({id:e}):Object(a.isPlainObject)(e)&&t.push(e)})),s[r]=t}else"segments"!==e&&(s[r]=n.params.user[e])}));var o,d=p()(e,F);d&&d.params&&d.params.app&&(o={},Object.keys(d.params.app).filter((function(e){return l()(A,e)})).forEach((function(e){return o[e]=d.params.app[e]})));var c,u=p()(e,V);u&&u.params&&d.params.app&&d.params.app.id&&(c={appid:u.params.app.id});var m={},f={},b=E.getCookie("apn_prebid_debug")||null;if(b)try{m=JSON.parse(b)}catch(e){Object(a.logError)("AppNexus Debug Auction Cookie Error:\n\n"+e)}else{var v=p()(e,J);v&&v.debug&&(m=v.debug)}m&&m.enabled&&Object.keys(m).filter((function(e){return l()(x,e)})).forEach((function(e){f[e]=m[e]}));var y=p()(e,D),h=y?parseInt(y.params.member,10):0,_=e[0].schain,j=p()(e,W),I={tags:g(t),user:s,sdk:{source:"pbjs",version:"6.13.0"},schain:_};j&&(I.iab_support={omidpn:"Appnexus",omidpv:"6.13.0"}),h>0&&(I.member_id=h),d&&(I.device=o),u&&(I.app=c);var C=i.b.getConfig("appnexusAuctionKeywords");if(Object(a.isPlainObject)(C)){var S=Object(a.transformBidderParamKeywords)(C);S.length>0&&S.forEach(U),I.keywords=S}if(i.b.getConfig("adpod.brandCategoryExclusion")&&(I.brand_category_uniqueness=!0),f.enabled&&(I.debug=f,Object(a.logInfo)("AppNexus Debug Auction Settings:\n\n"+JSON.stringify(f,null,4))),r&&r.gdprConsent&&(I.gdpr_consent={consent_string:r.gdprConsent.consentString,consent_required:r.gdprConsent.gdprApplies},r.gdprConsent.addtlConsent&&-1!==r.gdprConsent.addtlConsent.indexOf("~"))){var T=r.gdprConsent.addtlConsent,P=T.substring(T.indexOf("~")+1);I.gdpr_consent.addtl_consent=P.split(".").map((function(e){return parseInt(e,10)}))}if(r&&r.uspConsent&&(I.us_privacy=r.uspConsent),r&&r.refererInfo){var R={rd_ref:encodeURIComponent(r.refererInfo.referer),rd_top:r.refererInfo.reachedTop,rd_ifs:r.refererInfo.numIframes,rd_stk:r.refererInfo.stack.map((function(e){return encodeURIComponent(e)})).join(",")};I.referrer_detection=R}if(p()(e,K)&&e.filter(K).forEach((function(e){var r=function(e,r){var t=r.mediaTypes.video,n=t.durationRangeSec,i=t.requireExactDuration,s=function(e){var r=e.adPodDurationSec,t=e.durationRangeSec,n=e.requireExactDuration,i=Object(a.getMinValueFromArray)(t),s=Math.floor(r/i);return n?Math.max(s,t.length):s}(r.mediaTypes.video),o=Object(a.getMaxValueFromArray)(n),d=e.filter((function(e){return e.uuid===r.bidId})),c=a.fill.apply(void 0,g(d).concat([s]));if(i){var p=Math.ceil(s/n.length),u=Object(a.chunk)(c,p);n.forEach((function(e,r){u[r].map((function(r){H(r,"minduration",e),H(r,"maxduration",e)}))}))}else c.map((function(e){return H(e,"maxduration",o)}));return c}(t,e),n=I.tags.filter((function(r){return r.uuid!==e.bidId}));I.tags=[].concat(g(n),g(r))})),e[0].userId){var N=[];X(N,Object(a.deepAccess)(e[0],"userId.flocId.id"),"chrome.com",null),X(N,Object(a.deepAccess)(e[0],"userId.criteoId"),"criteo.com",null),X(N,Object(a.deepAccess)(e[0],"userId.netId"),"netid.de",null),X(N,Object(a.deepAccess)(e[0],"userId.idl_env"),"liveramp.com",null),X(N,Object(a.deepAccess)(e[0],"userId.tdid"),"adserver.org","TDID"),X(N,Object(a.deepAccess)(e[0],"userId.uid2.id"),"uidapi.com","UID2"),N.length&&(I.eids=N)}return t[0].publisher_id&&(I.publisher_id=t[0].publisher_id),function(e,r){var t=[],n={withCredentials:!0},s=k;q(r)||(s=O);"TRUE"!==Object(a.getParameterByName)("apn_test").toUpperCase()&&!0!==i.b.getConfig("apn_test")||(n.customHeaders={"X-Is-Test":1});if(e.tags.length>15){var o=Object(a.deepClone)(e);Object(a.chunk)(e.tags,15).forEach((function(e){o.tags=e;var a=JSON.stringify(o);t.push({method:"POST",url:s,data:a,bidderRequest:r,options:n})}))}else{var d=JSON.stringify(e);t={method:"POST",url:s,data:d,bidderRequest:r,options:n}}return t}(I,r)},interpretResponse:function(e,r){var t=this,i=r.bidderRequest;e=e.body;var d=[];if(!e||e.error){var c="in response for ".concat(i.bidderCode," adapter");return e&&e.error&&(c+=": ".concat(e.error)),Object(a.logError)(c),d}if(e.tags&&e.tags.forEach((function(e){var r,c=(r=e)&&r.ads&&r.ads.length&&p()(r.ads,(function(e){return e.rtb}));if(c&&((!0===b.a.get(i.bidderCode,"allowZeroCpmBids")?c.cpm>=0:c.cpm>0)&&l()(t.supportedMediaTypes,c.ad_type))){var u=function(e,r,t){var i=Object(a.getBidRequest)(e.uuid,[t]),d={requestId:e.uuid,cpm:r.cpm,creativeId:r.creative_id,dealId:r.deal_id,currency:"USD",netRevenue:!0,ttl:300,adUnitCode:i.adUnitCode,appnexus:{buyerMemberId:r.buyer_member_id,dealPriority:r.deal_priority,dealCode:r.deal_code}};r.adomain&&(d.meta=y({},d.meta,{advertiserDomains:[]}));r.advertiser_id&&(d.meta=y({},d.meta,{advertiserId:r.advertiser_id}));function c(e){return{ver:"1.0",complete:0,nodes:[{bsid:e.buyer_member_id.toString()}]}}r.buyer_member_id&&(d.meta=y({},d.meta,{dchain:c(r)}));r.brand_id&&(d.meta=y({},d.meta,{brandId:r.brand_id}));if(r.rtb.video){switch(y(d,{width:r.rtb.video.player_width,height:r.rtb.video.player_height,vastImpUrl:r.notify_url,ttl:3600}),Object(a.deepAccess)(i,"mediaTypes.video.context")){case o.a:var u=Object(s.getIabSubCategory)(i.bidder,r.brand_category_id);d.meta=y({},d.meta,{primaryCatId:u});var l=r.deal_priority;d.video={context:o.a,durationSeconds:Math.floor(r.rtb.video.duration_ms/1e3),dealTier:l},d.vastUrl=r.rtb.video.asset_url;break;case m.b:if(d.adResponse=e,d.adResponse.ad=d.adResponse.ads[0],d.adResponse.ad.video=d.adResponse.ad.rtb.video,d.vastXml=r.rtb.video.content,r.renderer_url){var f=p()(t.bids,(function(r){return r.bidId===e.uuid})),b=Object(a.deepAccess)(f,"renderer.options");d.renderer=function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.a.install({id:r.renderer_id,url:r.renderer_url,config:t,loaded:!1,adUnitCode:e});try{i.setRender(L)}catch(e){Object(a.logWarn)("Prebid Error calling setRender on renderer",e)}return i.setEventHandlers({impression:function(){return Object(a.logMessage)("AppNexus outstream video impression event")},loaded:function(){return Object(a.logMessage)("AppNexus outstream video loaded event")},ended:function(){Object(a.logMessage)("AppNexus outstream renderer video event"),document.querySelector("#".concat(e)).style.display="none"}}),i}(d.adUnitCode,r,b)}break;case m.a:d.vastUrl=r.notify_url+"&redir="+encodeURIComponent(r.rtb.video.asset_url)}}else if(r.rtb[o.c]){var v=r.rtb[o.c],g=r.viewability.config.replace("src=","data-src="),h=v.javascript_trackers;null==h?h=g:Object(a.isStr)(h)?h=[h,g]:h.push(g),d[o.c]={title:v.title,body:v.desc,body2:v.desc2,cta:v.ctatext,rating:v.rating,sponsoredBy:v.sponsored,privacyLink:v.privacy_link,address:v.address,downloads:v.downloads,likes:v.likes,phone:v.phone,price:v.price,salePrice:v.saleprice,clickUrl:v.link.url,displayUrl:v.displayurl,clickTrackers:v.link.click_trackers,impressionTrackers:v.impression_trackers,javascriptTrackers:h},v.main_img&&(d.native.image={url:v.main_img.url,height:v.main_img.height,width:v.main_img.width}),v.icon&&(d.native.icon={url:v.icon.url,height:v.icon.height,width:v.icon.width})}else{y(d,{width:r.rtb.banner.width,height:r.rtb.banner.height,ad:r.rtb.banner.content});try{if(r.rtb.trackers)for(var _=0;_<r.rtb.trackers[0].impression_urls.length;_++){var k=r.rtb.trackers[0].impression_urls[_],O=Object(a.createTrackPixelHtml)(k);d.ad+=O}}catch(e){Object(a.logError)("Error appending tracking pixel",e)}}return d}(e,c,i);u.mediaType=function(e){var r=e.ad_type;return r===o.d?o.d:r===o.c?o.c:o.b}(c),d.push(u)}})),e.debug&&e.debug.debug_info){var u="AppNexus Debug Auction for Prebid\n\n"+e.debug.debug_info;u=u.replace(/(<td>|<th>)/gm,"\t").replace(/(<\/td>|<\/th>)/gm,"\n").replace(/^<br>/gm,"").replace(/(<br>\n|<br>)/gm,"\n").replace(/<h1>(.*)<\/h1>/gm,"\n\n===== $1 =====\n\n").replace(/<h[2-6]>(.*)<\/h[2-6]>/gm,"\n\n*** $1 ***\n\n").replace(/(<([^>]+)>)/gim,""),Object(a.logMessage)("https://console.appnexus.com/docs/understanding-the-debug-auction"),Object(a.logMessage)(u)}return d},getMappingFileInfo:function(){return{url:"https://acdn.adnxs-simple.com/prebid/appnexus-mapping/mappings.json",refreshInDays:2}},getUserSyncs:function(e,r,t){if(e.iframeEnabled&&q({gdprConsent:t}))return[{type:"iframe",url:"https://acdn.adnxs.com/dmp/async_usersync.html"}]},transformBidParams:function(e,r){return e=Object(a.convertTypes)({member:"string",invCode:"string",placementId:"number",keywords:a.transformBidderParamKeywords,publisherId:"number"},e),r&&(e.use_pmt_rule="boolean"==typeof e.usePaymentRule&&e.usePaymentRule,e.usePaymentRule&&delete e.usePaymentRule,R(e.keywords)&&e.keywords.forEach(U),Object.keys(e).forEach((function(r){var t=Object(a.convertCamelToUnderscore)(r);t!==r&&(e[t]=e[r],delete e[r])}))),e},onBidWon:function(e){e.native&&function(e){var r=function(e){var r;if(Object(a.isStr)(e)&&N(e))r=e;else if(Object(a.isArray)(e))for(var t=0;t<e.length;t++){var n=e[t];N(n)&&(r=n)}return r}(e.native.javascriptTrackers);if(r)for(var t="pbjs_adid="+e.adId+";pbjs_auc="+e.adUnitCode,n=function(e){var r=e.indexOf('src="')+5,t=e.indexOf('"',r);return e.substring(r,t)}(r),i=n.replace("dom_id=%native_dom_id%",t),s=document.getElementsByTagName("iframe"),o=!1,d=0;d<s.length&&!o;d++){var c=s[d];try{var p=c.contentDocument||c.contentWindow.document;if(p)for(var u=p.getElementsByTagName("script"),l=0;l<u.length&&!o;l++){var m=u[l];m.getAttribute("data-src")==n&&(m.setAttribute("src",i),m.setAttribute("data-src",""),m.removeAttribute&&m.removeAttribute("data-src"),o=!0)}}catch(e){if(!(e instanceof DOMException&&"SecurityError"===e.name))throw e}}}(e)}};function R(e){return!!(Object(a.isArray)(e)&&e.length>0)}function U(e){R(e.value)&&""===e.value[0]&&delete e.value}function N(e){var r=e.match(T),t=null!=r&&r.length>=1,a=e.match("trk.js"),n=null!=a&&a.length>=1;return e.startsWith("<script")&&n&&t}function q(e){var r=!0;return e&&e.gdprConsent&&e.gdprConsent.gdprApplies&&2===e.gdprConsent.apiVersion&&(r=!(!0!==Object(a.deepAccess)(e.gdprConsent,"vendorData.purpose.consents.1"))),r}function z(e){var r={};r.sizes=M(e.sizes),r.primary_size=r.sizes[0],r.ad_types=[],r.uuid=e.bidId,e.params.placementId?r.id=parseInt(e.params.placementId,10):r.code=e.params.invCode,r.allow_smaller_sizes=e.params.allowSmallerSizes||!1,r.use_pmt_rule=e.params.usePaymentRule||!1,r.prebid=!0,r.disable_psa=!0;var t=function(e){if(!Object(a.isFn)(e.getFloor))return e.params.reserve?e.params.reserve:null;var r=e.getFloor({currency:"USD",mediaType:"*",size:"*"});if(Object(a.isPlainObject)(r)&&!isNaN(r.floor)&&"USD"===r.currency)return r.floor;return null}(e);if(t&&(r.reserve=t),e.params.position&&(r.position={above:1,below:2}[e.params.position]||1),e.params.trafficSourceCode&&(r.traffic_source_code=e.params.trafficSourceCode),e.params.privateSizes&&(r.private_sizes=M(e.params.privateSizes)),e.params.supplyType&&(r.supply_type=e.params.supplyType),e.params.pubClick&&(r.pubclick=e.params.pubClick),e.params.extInvCode&&(r.ext_inv_code=e.params.extInvCode),e.params.publisherId&&(r.publisher_id=parseInt(e.params.publisherId,10)),e.params.externalImpId&&(r.external_imp_id=e.params.externalImpId),!Object(a.isEmpty)(e.params.keywords)){var n=Object(a.transformBidderParamKeywords)(e.params.keywords);n.length>0&&n.forEach(U),r.keywords=n}var i,s,c=Object(a.deepAccess)(e,"ortb2Imp.ext.data.pbadslot");if(c&&(r.gpid=c),(e.mediaType===o.c||Object(a.deepAccess)(e,"mediaTypes.".concat(o.c)))&&(r.ad_types.push(o.c),0===r.sizes.length&&(r.sizes=M([1,1])),e.nativeParams)){var u=(i=e.nativeParams,s={},Object.keys(i).forEach((function(e){var r=S[e]&&S[e].serverName||S[e]||e,t=S[e]&&S[e].requiredParams;if(s[r]=y({},t,i[e]),(r===S.image.serverName||r===S.icon.serverName)&&s[r].sizes){var n=s[r].sizes;(Object(a.isArrayOfNums)(n)||Object(a.isArray)(n)&&n.length>0&&n.every((function(e){return Object(a.isArrayOfNums)(e)})))&&(s[r].sizes=M(s[r].sizes))}r===S.privacyLink&&(s.privacy_supported=!0)})),s);r[o.c]={layouts:[u]}}var m=Object(a.deepAccess)(e,"mediaTypes.".concat(o.d)),f=Object(a.deepAccess)(e,"mediaTypes.video.context");r.hb_source=m&&"adpod"===f?7:1,(e.mediaType===o.d||m)&&r.ad_types.push(o.d),(e.mediaType===o.d||m&&"outstream"!==f)&&(r.require_asset_url=!0),e.params.video&&(r.video={},Object.keys(e.params.video).filter((function(e){return l()(j,e)})).forEach((function(t){switch(t){case"context":case"playback_method":var n=e.params.video[t];n=Object(a.isArray)(n)?n[0]:n,r.video[t]=C[t][n];break;case"frameworks":break;default:r.video[t]=e.params.video[t]}})),e.params.video.frameworks&&Object(a.isArray)(e.params.video.frameworks)&&(r.video_frameworks=e.params.video.frameworks)),m&&(r.video=r.video||{},Object.keys(m).filter((function(e){return l()(I,e)})).forEach((function(e){switch(e){case"minduration":case"maxduration":"number"!=typeof r.video[e]&&(r.video[e]=m[e]);break;case"skip":"boolean"!=typeof r.video.skippable&&(r.video.skippable=1===m[e]);break;case"skipafter":"number"!=typeof r.video.skipoffset&&(r.video.skippoffset=m[e]);break;case"playbackmethod":if("number"!=typeof r.video.playback_method){var t=m[e];(t=Object(a.isArray)(t)?t[0]:t)>=1&&t<=4&&(r.video.playback_method=t)}break;case"api":if(!r.video_frameworks&&Object(a.isArray)(m[e])){var n=m[e].map((function(e){var r=4===e?5:5===e?4:e;if(r>=1&&r<=5)return r})).filter((function(e){return e}));r.video_frameworks=n}}}))),e.renderer&&(r.video=y({},r.video,{custom_renderer_present:!0})),e.params.frameworks&&Object(a.isArray)(e.params.frameworks)&&(r.banner_frameworks=e.params.frameworks);var b=p()(d.a.getAdUnits(),(function(r){return e.transactionId===r.transactionId}));return b&&b.mediaTypes&&b.mediaTypes.banner&&r.ad_types.push(o.b),0===r.ad_types.length&&delete r.ad_types,r}function M(e){var r=[],t={};if(Object(a.isArray)(e)&&2===e.length&&!Object(a.isArray)(e[0]))t.width=parseInt(e[0],10),t.height=parseInt(e[1],10),r.push(t);else if("object"===v(e))for(var n=0;n<e.length;n++){var i=e[n];(t={}).width=parseInt(i[0],10),t.height=parseInt(i[1],10),r.push(t)}return r}function B(e){return!!e.params.user}function D(e){return!!parseInt(e.params.member,10)}function F(e){if(e.params)return!!e.params.app}function V(e){return e.params&&e.params.app?!!e.params.app.id:!!e.params.app}function J(e){return!!e.debug}function K(e){return e.mediaTypes&&e.mediaTypes.video&&e.mediaTypes.video.context===o.a}function W(e){var r=!1,t=e.params,n=e.params.video;return t.frameworks&&Object(a.isArray)(t.frameworks)&&(r=l()(e.params.frameworks,6)),!r&&n&&n.frameworks&&Object(a.isArray)(n.frameworks)&&(r=l()(e.params.video.frameworks,6)),r}function H(e,r,t){Object(a.isEmpty)(e.video)&&(e.video={}),e.video[r]=t}function L(e){var r,t;r=e.adUnitCode,(t=document.getElementById(r).querySelectorAll("div[id^='google_ads']"))[0]&&t[0].style.setProperty("display","none"),function(e){try{var r=document.getElementById(e).querySelectorAll("script[id^='sas_script']");r[0].nextSibling&&"iframe"===r[0].nextSibling.localName&&r[0].nextSibling.style.setProperty("display","none")}catch(e){}}(e.adUnitCode),e.renderer.push((function(){window.ANOutstreamVideo.renderAd({tagId:e.adResponse.tag_id,sizes:[e.getSize().split("x")],targetId:e.adUnitCode,uuid:e.adResponse.uuid,adResponse:e.adResponse,rendererOptions:e.renderer.getConfig()},$.bind(null,e))}))}function $(e,r,t){e.renderer.handleVideoEvent({id:r,eventName:t})}function X(e,r,t,a){return r&&(a?e.push({source:t,id:r,rti_partner:a}):e.push({source:t,id:r})),e}Object(s.registerBidder)(P),window.tmzr.installedModules.push("appnexusBidAdapter")}},[296]);
tmzrChunk([353],{317:function(e,a,t){e.exports=t(318)},318:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),t.d(a,"spec",(function(){return c}));var i=t(1),r=t(0),n=t(21);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var d="https://ads.betweendigital.com/adjson?t=prebid",s=["inpage","preroll","midroll","postroll"],p=t(12),c={code:"between",aliases:["btw"],supportedMediaTypes:["banner","video"],isBidRequestValid:function(e){return Boolean(e.params.s)},buildRequests:function(e,a){var t=[],i=a&&a.gdprConsent,o=Object(n.a)();return e.forEach((function(e){var a,n,c,m=e.mediaTypes&&e.mediaTypes.video,v={eids:(a=e,n=a.userIdAsEids,n&&0!==n.length?n:[]),sizes:Object(r.parseSizesInput)(Object(r.getAdUnitSizes)(e)),jst:"hb",ord:1e16*Math.random(),tz:(new Date).getTimezoneOffset(),fl:l(),rr:u(),s:e.params&&e.params.s,bidid:e.bidId,transactionid:e.transactionId,auctionid:e.auctionId};if(m&&(v.mediaType=2,v.maxd=m.maxd,v.mind=m.mind,v.pos="atf",d+="&jst=pvc",v.codeType=p(s,m.codeType)?m.codeType:"inpage"),void 0!==e.params.itu&&(v.itu=e.params.itu),void 0!==e.params.cur&&(v.cur=e.params.cur),void 0!==e.params.subid&&(v.subid=e.params.subid),void 0!==e.params.click3rd&&(v.click3rd=e.params.click3rd),void 0!==e.params.pubdata)for(var b in e.params.pubdata)v["pubside_macro["+b+"]"]=encodeURIComponent(e.params.pubdata[b]);e.schain&&(v.schain=(c=JSON.stringify(e.schain),btoa(c).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,""))),o&&o.referer&&(v.ref=o.referer),i&&(void 0!==i.gdprApplies&&(v.gdprApplies=!!i.gdprApplies),void 0!==i.consentString&&(v.consentString=i.consentString)),t.push({data:v})})),{method:"POST",url:d,data:JSON.stringify(t)}},interpretResponse:function(e,a){for(var t=[],i=0;i<e.body.length;i++){var r={requestId:e.body[i].bidid,cpm:e.body[i].cpm||0,width:e.body[i].w,height:e.body[i].h,vastXml:e.body[i].vastXml,mediaType:e.body[i].mediaType,ttl:e.body[i].ttl,creativeId:e.body[i].creativeid,currency:e.body[i].currency||"RUB",netRevenue:e.body[i].netRevenue||!0,ad:e.body[i].ad,meta:{advertiserDomains:e.body[i].adomain?e.body[i].adomain:[]}};t.push(r)}return t},getUserSyncs:function(e,a){var t=[];return t.push({type:"iframe",url:"https://ads.betweendigital.com/sspmatch-iframe"}),t}};function u(){try{var e=top.document.referrer}catch(e){return!1}return void 0!==e&&e.length>0?encodeURIComponent(e):void 0!==e&&""==e?"direct":void 0}function l(){if(void 0!==navigator.plugins&&null!==navigator.plugins&&void 0!==navigator.plugins["Shockwave Flash"]&&null!==navigator.plugins["Shockwave Flash"]&&"object"===o(navigator.plugins["Shockwave Flash"])){var e=navigator.plugins["Shockwave Flash"].description;if(e&&(void 0===navigator.mimeTypes||!navigator.mimeTypes["application/x-shockwave-flash"]||navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin))return e=e.replace(/^.*\s+(\S+\s+\S+$)/,"$1").replace(/^(.*)\..*$/,"$1"),parseInt(e,10)}return 0}Object(i.registerBidder)(c),window.tmzr.installedModules.push("betweenBidAdapter")}},[317]);
tmzrChunk([347],{331:function(e,t,n){e.exports=n(332)},332:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"BIDDER_CODE",(function(){return c})),n.d(t,"BLIINK_ENDPOINT_ENGINE",(function(){return s})),n.d(t,"BLIINK_ENDPOINT_ENGINE_VAST",(function(){return u})),n.d(t,"BLIINK_ENDPOINT_COOKIE_SYNC",(function(){return d})),n.d(t,"META_KEYWORDS",(function(){return p})),n.d(t,"META_DESCRIPTION",(function(){return l})),t.getMetaList=y,t.getOneMetaValue=f,t.getMetaValue=v,t.getKeywords=b,n.d(t,"parseXML",(function(){return I})),n.d(t,"buildBid",(function(){return h})),n.d(t,"isBidRequestValid",(function(){return E})),n.d(t,"buildRequests",(function(){return _})),n.d(t,"spec",(function(){return k}));var r=n(1);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function a(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c="bliink",s="https://engine.bliink.io/delivery",u="https://engine.bliink.io/vast",d="https://cookiesync.api.bliink.io",p="keywords",l="description",m="video",g="banner";function y(e){return e&&0!==e.length?[{key:"name",value:e},{key:"name*",value:e},{key:"itemprop*",value:e},{key:"property",value:"'og:".concat(e,"'")},{key:"property",value:"'twitter:".concat(e,"'")},{key:"property",value:"'article:".concat(e,"'")}]:[]}function f(e){var t=document.querySelector(e);return t&&t.content?t.content:null}function v(e){for(var t=y(e),n=0;n<t.length;n++){var r=t[n],i=f("meta[".concat(r.key,"=").concat(r.value,"]"));if(i)return i}return""}function b(){var e=v(p);if(e){var t=a(e.split(","));if(t&&t.length>0)return t.filter((function(e){return e})).map((function(e){return e.trim()}))}return[]}var I=function(e){if("string"!=typeof e||0===e.length)return null;var t,n=new DOMParser;try{t=n.parseFromString(e,"text/xml")}catch(e){}return t&&t.getElementsByTagName("VAST")[0]&&"VAST"===t.getElementsByTagName("VAST")[0].tagName?t:null},h=function(e,t){if(!e&&!t)return null;var n={requestId:e.bidId,currency:t.currency,cpm:t.price,creativeId:t.creativeId,width:e.sizes&&e.sizes[0][0]||1,height:e.sizes&&e.sizes[0][1]||1,netRevenue:!1,ttl:3600};if(t&&e&&!e.bidId||!e.sizes||!e.params||!e.params.placement)return null;switch(delete e.bids,t.media_type){case m:return i(n,{mediaType:m,vastXml:t.content});case g:return i(n,{mediaType:g,ad:t&&t.content&&t.content.creative&&t.content.creative.adm||""})}},E=function(e){return!!(e&&e.params&&e.params.placement&&e.params.tagId)},_=function(e,t){if(!t)return null;var n={pageUrl:t.refererInfo.referer,pageDescription:v(l),keywords:b().join(","),gdpr:!1,gdpr_consent:"",pageTitle:document.title},r=t.bids[0].params.placement===m?u:s,a={bidderRequestId:t.bidderRequestId,bidderCode:t.bidderCode,bids:t.bids,refererInfo:t.refererInfo};return t.gdprConsent&&(n=i(n,{gdpr:t.gdprConsent&&t.gdprConsent.gdprApplies,gdpr_consent:t.gdprConsent.consentString})),t.bids&&t.bids.length>0&&t.bids[0].sizes&&t.bids[0].sizes[0]?(n=i(n,{width:t.bids[0].sizes[0][0],height:t.bids[0].sizes[0][1]}),{method:"GET",url:"".concat(r,"/").concat(t.bids[0].params.tagId),data:n,params:a}):null},k={code:c,aliases:["bk"],supportedMediaTypes:[g,m],isBidRequestValid:E,buildRequests:_,interpretResponse:function(e,t){if(e&&"no-ad"===e.mode)return[];var n,r=e.body,i=t.params,a=I(r);switch(i.bids[0].params.placement){case a&&m:var o=a.getElementsByTagName("Price")&&a.getElementsByTagName("Price")[0],c=a.getElementsByTagName("Currency")&&a.getElementsByTagName("Currency")[0],s=a.getElementsByTagName("CreativeId")&&a.getElementsByTagName("CreativeId")[0];return n={content:r,price:o&&o.textContent||0,currency:c&&c.textContent||"EUR",creativeId:s||0,media_type:"video"},h(i.bids[0],n);case g:if(r)return n={content:r,price:r.price,currency:r.currency,creativeId:0,media_type:"banner"},h(i.bids[0],n)}},getUserSyncs:function(e,t,n){if(e.pixelEnabled&&t.length>0&&n){var r="consentString=".concat(n.consentString),i=encodeURIComponent("".concat(d,"/cookiesync?partner=smart&uid=[sas_uid]")),a=encodeURIComponent("".concat(d,"/cookiesync?partner=azerion&uid={PUB_USER_ID}")),o=encodeURIComponent("".concat(d,"/cookiesync?partner=azerion&uid=$UID"));return[{type:"script",url:"https://prg.smartadserver.com/ac?out=js&nwid=3392&siteid=305791&pgname=rg&fmtid=81127&tgt=[sas_target]&visit=m&tmstp=[timestamp]&clcturl=[countgo]"},{type:"image",url:"https://sync.smartadserver.com/getuid?nwid=3392&".concat(r,"&url=").concat(i)},{type:"image",url:"https://ad.360yield.com/server_match?partner_id=1531&".concat(r,"&r=").concat(a)},{type:"image",url:"https://ads.stickyadstv.com/auto-user-sync?".concat(r)},{type:"image",url:"https://cookiesync.api.bliink.io/getuid?url=https%3A%2F%2Fvisitor.omnitagjs.com%2Fvisitor%2Fsync%3Fuid%3D1625272249969090bb9d544bd6d8d645%26name%3DBLIINK%26visitor%3D%24UID%26external%3Dtrue&".concat(r)},{type:"image",url:"https://cookiesync.api.bliink.io/getuid?url=https://pixel.advertising.com/ups/58444/sync?&gdpr=1&gdpr_consent=".concat(n.consentString,"&redir=true&uid=$UID")},{type:"image",url:"https://ups.analytics.yahoo.com/ups/58499/occ?gdpr=1&gdpr_consent=".concat(n.consentString)},{type:"image",url:"https://secure.adnxs.com/getuid?".concat(o)}]}return[]}};Object(r.registerBidder)(k),window.tmzr.installedModules.push("bliinkBidAdapter")}},[331]);
tmzrChunk([60],{15:function(e,t,r){"use strict";t.b=function(e){var t=[];for(var r in e)if(e.hasOwnProperty(r))if("pubProvidedId"===r)t=t.concat(e.pubProvidedId);else{var n=a(e[r],r);n&&t.push(n)}return t},t.a=function(e){var t=[];return e.filter((function(e){return Object(n.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length})).forEach((function(e){Object.keys(e.idObj).forEach((function(r){Object(n.deepAccess)(e,"config.bidders")&&Array.isArray(e.config.bidders)&&Object(n.deepAccess)(i,r+".source")&&t.push({source:i[r].source,bidders:e.config.bidders})}))})),t};var n=r(0),i={trustpid:{source:"trustpid.com",atype:1,getValue:function(e){return e}},intentIqId:{source:"intentiq.com",atype:1},naveggId:{source:"navegg.com",atype:1},justId:{source:"justtag.com",atype:1},pubcid:{source:"pubcid.org",atype:1},tdid:{source:"adserver.org",atype:1,getUidExt:function(){return{rtiPartner:"TDID"}}},id5id:{getValue:function(e){return e.uid},source:"id5-sync.com",atype:1,getUidExt:function(e){if(e.ext)return e.ext}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var t=Object(n.pick)(e,["ibaOptout","ccpaOptout"]);if(Object.keys(t).length)return t}},idl_env:{source:"liveramp.com",atype:3},lipb:{getValue:function(e){return e.lipbid},source:"liveintent.com",atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},britepoolid:{source:"britepool.com",atype:3},dmdId:{source:"hcn.health",atype:3},lotamePanoramaId:{source:"crwdcntrl.net",atype:1},criteoId:{source:"criteo.com",atype:1},merkleId:{source:"merkleinc.com",atype:3,getValue:function(e){return e.id},getUidExt:function(e){return e&&e.keyID?{keyID:e.keyID}:void 0}},netId:{source:"netid.de",atype:1},IDP:{source:"zeotap.com",atype:1},hadronId:{source:"audigent.com",atype:1},haloId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},nextrollId:{source:"nextroll.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(e){return e.snowflake},source:"novatiq.com",atype:1},uid2:{source:"uidapi.com",atype:3,getValue:function(e){return e.id}},dapId:{source:"akamai.com",atype:1},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3},adtelligentId:{source:"adtelligent.com",atype:3},amxId:{source:"amxrtb.com",atype:1},publinkId:{source:"epsilon.com",atype:3},kpuid:{source:"kpuid.com",atype:3},imuid:{source:"intimatemerger.com",atype:1},connectId:{source:"yahoo.com",atype:3},qid:{source:"adquery.io",atype:1}};function a(e,t){var r=i[t];if(r&&e){var a={};a.source=r.source;var o=Object(n.isFn)(r.getValue)?r.getValue(e):e;if(Object(n.isStr)(o)){var c={id:o,atype:r.atype};if(Object(n.isFn)(r.getUidExt)){var d=r.getUidExt(e);d&&(c.ext=d)}if(a.uids=[c],Object(n.isFn)(r.getEidExt)){var s=r.getEidExt(e);s&&(a.ext=s)}return a}}return null}},388:function(e,t,r){e.exports=r(389)},389:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r.d(t,"spec",(function(){return s}));var n=r(0),i=r(1),a=r(2),o=r(3),c=r(15);function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var s={code:"connectad",gvlid:138,aliases:["connectadrealtime"],supportedMediaTypes:[a.b],isBidRequestValid:function(e){return!(!e.params.networkId||!e.params.siteId)},buildRequests:function(e,t){var r={method:"POST",url:"",data:"",bidRequest:[]};if(e.length<1)return r;var i,a=d({placements:[],time:Date.now(),user:{},url:t.refererInfo&&t.refererInfo.referer?t.refererInfo.referer:window.location.href,referrer:window.document.referrer,referrer_info:t.refererInfo,screensize:[window.screen.width,window.screen.height].join("x"),dnt:"yes"==navigator.doNotTrack||"1"==navigator.doNotTrack||"1"==navigator.msDoNotTrack?1:0,language:navigator.language,ua:navigator.userAgent,pversion:"6.13.0"});(!0===o.b.getConfig("coppa")&&Object(n.deepSetValue)(a,"user.coppa",1),e[0].schain&&Object(n.deepSetValue)(a,"source.ext.schain",e[0].schain),t.gdprConsent)&&("boolean"==typeof t.gdprConsent.gdprApplies&&(i=t.gdprConsent.gdprApplies?1:0),Object(n.deepSetValue)(a,"user.ext.gdpr",i),Object(n.deepSetValue)(a,"user.ext.consent",t.gdprConsent.consentString));return t.uspConsent&&Object(n.deepSetValue)(a,"user.ext.us_privacy",t.uspConsent),e[0].userId&&Object(n.deepSetValue)(a,"user.ext.eids",Object(c.b)(e[0].userId)),e.map((function(e){var t=d({id:e.transactionId,divName:e.bidId,pisze:e.mediaTypes.banner.sizes[0]||e.sizes[0],sizes:e.mediaTypes.banner.sizes,adTypes:l(e.mediaTypes.banner.sizes||e.sizes),bidfloor:p(e),siteId:e.params.siteId,networkId:e.params.networkId});t.networkId&&t.siteId&&a.placements.push(t)})),r.data=JSON.stringify(a),r.bidRequest=e,r.url="https://i.connectad.io/api/v2",r},interpretResponse:function(e,t,r){var n,i,a,o=[];i=t.bidRequest,e=(e||{}).body;for(var c=0;c<i.length;c++)if(n={},a=i[c].bidId,e){var d=e.decisions&&e.decisions[a],s=d&&d.pricing&&d.pricing.clearPrice;d&&s&&(n.requestId=a,n.cpm=s,n.width=d.width,n.height=d.height,n.dealid=d.dealid||null,n.meta={advertiserDomains:d&&d.adomain?d.adomain:[]},n.ad=f(d),n.currency="USD",n.creativeId=d.adId,n.ttl=360,n.netRevenue=!0,o.push(n))}return o},transformBidParams:function(e,t){return Object(n.convertTypes)({siteId:"number",networkId:"number"},e)},getUserSyncs:function(e,t,r,i){var a="https://cdn.connectad.io/connectmyusers.php?";if(r&&(a=Object(n.tryAppendQueryString)(a,"gdpr",r.gdprApplies?1:0)),r&&"string"==typeof r.consentString&&(a=Object(n.tryAppendQueryString)(a,"gdpr_consent",r.consentString)),i&&(a=Object(n.tryAppendQueryString)(a,"us_privacy",i)),!0===o.b.getConfig("coppa")&&(a=Object(n.tryAppendQueryString)(a,"coppa",1)),e.iframeEnabled)return[{type:"iframe",url:a}];Object(n.logWarn)("Bidder ConnectAd: Please activate iFrame Sync")}},u=[null,"120x90","200x200","468x60","728x90","300x250","160x600","120x600","300x100","180x150","336x280","240x400","234x60","88x31","120x60","120x240","125x125","220x250","250x250","250x90","0x0","200x90","300x50","320x50","320x480","185x185","620x45","300x125","800x250","980x120","980x150","320x150","300x300","200x600","320x500","320x320"];function p(e){var t={};return"function"==typeof e.getFloor&&(t=e.getFloor({currency:"USD",mediaType:"banner",size:"*"})),t.floor||e.params.bidfloor||e.params.floorprice||0}function l(e){var t=[];return e.forEach((function(e){var r=u.indexOf(e[0]+"x"+e[1]);r>=0&&t.push(r)})),t}function f(e){return e.contents&&e.contents[0]&&e.contents[0].body}u[77]="970x90",u[123]="970x250",u[43]="300x600",u[286]="970x66",u[3230]="970x280",u[429]="486x60",u[374]="700x500",u[934]="300x1050",u[1578]="320x100",u[331]="320x250",u[3301]="320x267",u[2730]="728x250",Object(i.registerBidder)(s),window.tmzr.installedModules.push("connectadBidAdapter")}},[388]);
tmzrChunk([324],{390:function(n,t,e){n.exports=e(391)},391:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e.d(t,"allowAuction",(function(){return C})),e.d(t,"userCMP",(function(){return f})),e.d(t,"consentTimeout",(function(){return g})),e.d(t,"gdprScope",(function(){return p})),e.d(t,"staticConsentData",(function(){return b})),t.requestBidsHook=j,t.resetConsentData=function(){m=void 0,f=void 0,v=0,i.gdprDataHandler.setConsentData(null)},t.setConsentConfig=A;var o=e(0),a=e(3),i=e(9),c=e(12),r=e.n(c),s=e(83),d=e.n(s);function l(n){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function u(n,t,e){return t in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}var f,g,p,b,m,C={value:true,definedInConfig:!1},v=0,w=!1,y={iab:function(n,t,e){function a(a,i){Object(o.logInfo)("Received a response from CMP",a),i?!1!==a.gdprApplies&&"tcloaded"!==a.eventStatus&&"useractioncomplete"!==a.eventStatus||n(a,e):t("CMP unable to register callback function.  Please check CMP setup.",e)}var i=function(){var t={};function a(){t.getConsentData&&t.getVendorConsents&&(Object(o.logInfo)("Received all requested responses from CMP",t),n(t,e))}return{consentDataCallback:function(n){t.getConsentData=n,a()},vendorConsentsCallback:function(n){t.getVendorConsents=n,a()}}}(),c={},r=function(){for(var n,t,e=window;!n;){try{if("function"==typeof e.__tcfapi||"function"==typeof e.__cmp){"function"==typeof e.__tcfapi?(v=2,t=e.__tcfapi):(v=1,t=e.__cmp),n=e;break}}catch(n){}try{if(e.frames.__tcfapiLocator){v=2,n=e;break}}catch(n){}try{if(e.frames.__cmpLocator){v=1,n=e;break}}catch(n){}if(e===window.top)break;e=e.parent}return{cmpFrame:n,cmpFunction:t}}(),s=r.cmpFrame,l=r.cmpFunction;if(!s)return t("CMP not found.",e);Object(o.isFn)(l)?(Object(o.logInfo)("Detected CMP API is directly accessible, calling it now..."),1===v?(l("getConsentData",null,i.consentDataCallback),l("getVendorConsents",null,i.vendorConsentsCallback)):2===v&&l("addEventListener",v,a)):1===v&&window.$sf&&window.$sf.ext&&"function"==typeof window.$sf.ext.cmp?(Object(o.logInfo)("Detected Prebid.js is encased in a SafeFrame and CMP is registered, calling it now..."),f("getConsentData",i.consentDataCallback),f("getVendorConsents",i.vendorConsentsCallback)):(Object(o.logInfo)("Detected CMP is outside the current iframe where Prebid.js is located, calling it now..."),1===v?(g("getConsentData",s,i.consentDataCallback),g("getVendorConsents",s,i.vendorConsentsCallback)):2===v&&g("addEventListener",s,a));function f(n,t){var a=e.adUnits,i=1,c=1;if(Array.isArray(a)&&a.length>0){var r=Object(o.getAdUnitSizes)(a[0]);i=r[0][0],c=r[0][1]}window.$sf.ext.register(i,c,(function(e,o){if("cmpReturn"===e){var a="getConsentData"===n?o.vendorConsentData:o.vendorConsents;t(a)}})),window.$sf.ext.cmp(n)}function g(n,t,e){var o=2===v?"__tcfapi":"__cmp",a="".concat(o,"Call");function i(n){var t="".concat(o,"Return"),e="string"==typeof n.data&&d()(n.data,t)?JSON.parse(n.data):n.data;if(e[t]&&e[t].callId){var a=e[t];void 0!==c[a.callId]&&c[a.callId](a.returnValue,a.success)}}2===v?(window[o]=function(n,e,o,i){var r=Math.random()+"",s=u({},a,{command:n,version:e,parameter:i,callId:r});c[r]=o,t.postMessage(s,"*")},window.addEventListener("message",i,!1),window[o](n,v,e)):(window[o]=function(n,e,o){var i=Math.random()+"",r=u({},a,{command:n,parameter:e,callId:i});c[i]=o,t.postMessage(r,"*")},window.addEventListener("message",i,!1),window[o](n,void 0,e))}},static:function(n,t,e){n(b,e)}};function j(n,t){var e={context:this,args:[t],nextFn:n,adUnits:t.adUnits||tmzr.adUnits,bidsBackHandler:t.bidsBackHandler,haveExited:!1,timer:null};return m?(Object(o.logInfo)("User consent information already known.  Pulling internally stored information..."),h(null,e)):r()(Object.keys(y),f)?(y[f].call(this,D,M,e),void(e.haveExited||(0===g?D(void 0,e):e.timer=setTimeout(O.bind(null,e),g)))):(Object(o.logWarn)("CMP framework (".concat(f,") is not a supported framework.  Aborting consentManagement module and resuming auction.")),e.nextFn.apply(e.context,e.args))}function D(n,t){"static"===f&&2===(v=n.getConsentData?1:n.getTCData?2:0)&&(n=n.getTCData);var e=1===v?function(n){var t=n&&n.getConsentData&&n.getConsentData.gdprApplies;return!("boolean"==typeof t&&(!0!==t||Object(o.isStr)(n.getConsentData.consentData)&&Object(o.isPlainObject)(n.getVendorConsents)&&Object.keys(n.getVendorConsents).length>1))}:2===v?function(){var t=n&&"boolean"==typeof n.gdprApplies?n.gdprApplies:p,e=n&&n.tcString;return!("boolean"==typeof t&&(!0!==t||Object(o.isStr)(e)))}:null;C.definedInConfig&&2===v?Object(o.logWarn)("'allowAuctionWithoutConsent' ignored for TCF 2"):C.definedInConfig||1!==v||Object(o.logInfo)("'allowAuctionWithoutConsent' using system default: (".concat(true,").")),Object(o.isFn)(e)?e(n)?M("CMP returned unexpected value during lookup process.",t,n):(clearTimeout(t.timer),k(n),h(null,t)):M("Unable to derive CMP version to process data.  Consent object does not conform to TCF v1 or v2 specs.",t,n)}function O(n){2===v?(Object(o.logWarn)("No response from CMP, continuing auction..."),k(void 0),h(null,n)):M("CMP workflow exceeded timeout threshold.",n)}function M(n,t,e){clearTimeout(t.timer),C.value&&1===v&&k(void 0),h(n,t,e)}function k(n){1===v?m={consentString:n?n.getConsentData.consentData:void 0,vendorData:n?n.getVendorConsents:void 0,gdprApplies:n?n.getConsentData.gdprApplies:p}:(m={consentString:n?n.tcString:void 0,vendorData:n||void 0,gdprApplies:n&&"boolean"==typeof n.gdprApplies?n.gdprApplies:p},n&&n.addtlConsent&&Object(o.isStr)(n.addtlConsent)&&(m.addtlConsent=n.addtlConsent)),m.apiVersion=v,i.gdprDataHandler.setConsentData(m)}function h(n,t,e){if(!1===t.haveExited){t.haveExited=!0;var a=t.context,i=t.args,c=t.nextFn;n?C.value&&1===v?(Object(o.logWarn)(n+" 'allowAuctionWithoutConsent' activated.",e),c.apply(a,i)):(Object(o.logError)(n+" Canceling auction as per consentManagement config.",e),"function"==typeof t.bidsBackHandler?t.bidsBackHandler():Object(o.logError)("Error executing bidsBackHandler")):c.apply(a,i)}}function A(n){(n=n&&(n.gdpr||n.usp?n.gdpr:n))&&"object"===l(n)?(Object(o.isStr)(n.cmpApi)?f=n.cmpApi:(f="iab",Object(o.logInfo)("consentManagement config did not specify cmp.  Using system default setting (".concat("iab",")."))),Object(o.isNumber)(n.timeout)?g=n.timeout:(g=1e4,Object(o.logInfo)("consentManagement config did not specify timeout.  Using system default setting (".concat(1e4,")."))),"boolean"==typeof n.allowAuctionWithoutConsent&&(C.value=n.allowAuctionWithoutConsent,C.definedInConfig=!0),p=!0===n.defaultGdprScope,Object(o.logInfo)("consentManagement module has been activated..."),"static"===f&&(Object(o.isPlainObject)(n.consentData)?(b=n.consentData,g=0):Object(o.logError)("consentManagement config with cmpApi: 'static' did not specify consentData. No consents will be available to adapters.")),w||tmzr.requestBids.before(j,50),w=!0):Object(o.logWarn)("consentManagement config not defined, exiting consent manager")}a.b.getConfig("consentManagement",(function(n){return A(n.consentManagement)})),window.tmzr.installedModules.push("consentManagement")}},[390]);
tmzrChunk([2],{409:function(t,e,r){t.exports=r(410)},410:function(module,__webpack_exports__,__webpack_require__){"use strict";Object.defineProperty(__webpack_exports__,"__esModule",{value:!0}),__webpack_require__.d(__webpack_exports__,"ADAPTER_VERSION",(function(){return ADAPTER_VERSION})),__webpack_require__.d(__webpack_exports__,"PROFILE_ID_PUBLISHERTAG",(function(){return PROFILE_ID_PUBLISHERTAG})),__webpack_require__.d(__webpack_exports__,"FAST_BID_VERSION_CURRENT",(function(){return FAST_BID_VERSION_CURRENT})),__webpack_require__.d(__webpack_exports__,"spec",(function(){return spec})),__webpack_exports__.canFastBid=canFastBid,__webpack_exports__.getFastBidUrl=getFastBidUrl,__webpack_exports__.tryGetCriteoFastBid=tryGetCriteoFastBid;var __WEBPACK_IMPORTED_MODULE_0__src_utils_js__=__webpack_require__(0),__WEBPACK_IMPORTED_MODULE_1__src_adloader_js__=__webpack_require__(32),__WEBPACK_IMPORTED_MODULE_2__src_adapters_bidderFactory_js__=__webpack_require__(1),__WEBPACK_IMPORTED_MODULE_3__src_config_js__=__webpack_require__(3),__WEBPACK_IMPORTED_MODULE_4__src_mediaTypes_js__=__webpack_require__(2),__WEBPACK_IMPORTED_MODULE_5_core_js_pure_features_array_find_js__=__webpack_require__(11),__WEBPACK_IMPORTED_MODULE_5_core_js_pure_features_array_find_js___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_core_js_pure_features_array_find_js__),__WEBPACK_IMPORTED_MODULE_6_criteo_direct_rsa_validate_build_verify_js__=__webpack_require__(77),__WEBPACK_IMPORTED_MODULE_6_criteo_direct_rsa_validate_build_verify_js___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_criteo_direct_rsa_validate_build_verify_js__),__WEBPACK_IMPORTED_MODULE_7__src_storageManager_js__=__webpack_require__(7);function _extends(){return(_extends=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t}).apply(this,arguments)}var GVLID=91,ADAPTER_VERSION=34,BIDDER_CODE="criteo",CDB_ENDPOINT="https://bidder.criteo.com/cdb",PROFILE_ID_INLINE=207,PROFILE_ID_PUBLISHERTAG=185,storage=Object(__WEBPACK_IMPORTED_MODULE_7__src_storageManager_js__.b)(GVLID),LOG_PREFIX="Criteo: ",FAST_BID_VERSION_PLACEHOLDER="%FAST_BID_VERSION%",FAST_BID_VERSION_CURRENT=117,FAST_BID_VERSION_LATEST="latest",FAST_BID_VERSION_NONE="none",PUBLISHER_TAG_URL_TEMPLATE="https://static.criteo.net/js/ld/publishertag.prebid"+FAST_BID_VERSION_PLACEHOLDER+".js",FAST_BID_PUBKEY_E=65537,FAST_BID_PUBKEY_N="ztQYwCE5BU7T9CDM5he6rKoabstXRmkzx54zFPZkWbK530dwtLBDeaWBMxHBUT55CYyboR/EZ4efghPi3CoNGfGWezpjko9P6p2EwGArtHEeS4slhu/SpSIFMjG6fdrpRoNuIAMhq1Z+Pr/+HOd1pThFKeGFr2/NhtAg+TXAzaU=",spec={code:BIDDER_CODE,gvlid:GVLID,supportedMediaTypes:[__WEBPACK_IMPORTED_MODULE_4__src_mediaTypes_js__.b,__WEBPACK_IMPORTED_MODULE_4__src_mediaTypes_js__.d,__WEBPACK_IMPORTED_MODULE_4__src_mediaTypes_js__.c],isBidRequestValid:function(t){return!(!t||!t.params||!t.params.zoneId&&!t.params.networkId)&&!(hasVideoMediaType(t)&&!hasValidVideoMediaType(t))},buildRequests:function(t,e){var r,i,s=__WEBPACK_IMPORTED_MODULE_3__src_config_js__.b.getLegacyFpd(__WEBPACK_IMPORTED_MODULE_3__src_config_js__.b.getConfig("ortb2"))||{};_extends(e,{publisherExt:s.context,userExt:s.user,ceh:__WEBPACK_IMPORTED_MODULE_3__src_config_js__.b.getConfig("criteo.ceh")});var a=__WEBPACK_IMPORTED_MODULE_3__src_config_js__.b.getConfig("criteo.fastBidVersion"),_=canFastBid(a);if(!publisherTagAvailable()&&_){window.Criteo=window.Criteo||{},window.Criteo.usePrebidEvents=!1,tryGetCriteoFastBid();var o=getFastBidUrl(a);setTimeout((function(){Object(__WEBPACK_IMPORTED_MODULE_1__src_adloader_js__.a)(o,BIDDER_CODE)}),e.timeout)}if(publisherTagAvailable()){var n=new Criteo.PubTag.Adapters.Prebid(PROFILE_ID_PUBLISHERTAG,ADAPTER_VERSION,t,e,"6.13.0");r=n.buildCdbUrl(),i=n.buildCdbRequest()}else{var c=buildContext(t,e);r=buildCdbUrl(c),i=buildCdbRequest(c,t,e)}if(i)return{method:"POST",url:r,data:i,bidRequests:t}},interpretResponse:function(t,e){var r=t.body||t;if(publisherTagAvailable()){var i=Criteo.PubTag.Adapters.Prebid.GetAdapter(e);if(i)return i.interpretResponse(r,e)}var s=[];return r&&r.slots&&Object(__WEBPACK_IMPORTED_MODULE_0__src_utils_js__.isArray)(r.slots)&&r.slots.forEach((function(t){var r=__WEBPACK_IMPORTED_MODULE_5_core_js_pure_features_array_find_js___default()(e.bidRequests,(function(e){return e.adUnitCode===t.impid&&(!e.params.zoneId||parseInt(e.params.zoneId)===t.zoneid)})),i=r.bidId,a={requestId:i,adId:t.bidId||Object(__WEBPACK_IMPORTED_MODULE_0__src_utils_js__.getUniqueIdentifierStr)(),cpm:t.cpm,currency:t.currency,netRevenue:!0,ttl:t.ttl||60,creativeId:t.creativecode,width:t.width,height:t.height,dealId:t.dealCode};t.adomain&&(a.meta=_extends({},a.meta,{advertiserDomains:t.adomain})),t.native?r.params.nativeCallback?a.ad=createNativeAd(i,t.native,r.params.nativeCallback):(a.native=createPrebidNativeAd(t.native),a.mediaType=__WEBPACK_IMPORTED_MODULE_4__src_mediaTypes_js__.c):t.video?(a.vastUrl=t.displayurl,a.mediaType=__WEBPACK_IMPORTED_MODULE_4__src_mediaTypes_js__.d):a.ad=t.creative,s.push(a)})),s},onTimeout:function(t){if(publisherTagAvailable()&&Array.isArray(t)){var e=[];t.forEach((function(t){-1===e.indexOf(t.auctionId)&&(e.push(t.auctionId),Criteo.PubTag.Adapters.Prebid.GetAdapter(t.auctionId).handleBidTimeout())}))}},onBidWon:function(t){publisherTagAvailable()&&t&&Criteo.PubTag.Adapters.Prebid.GetAdapter(t.auctionId).handleBidWon(t)},onSetTargeting:function(t){publisherTagAvailable()&&Criteo.PubTag.Adapters.Prebid.GetAdapter(t.auctionId).handleSetTargeting(t)}};function publisherTagAvailable(){return"undefined"!=typeof Criteo&&Criteo.PubTag&&Criteo.PubTag.Adapters&&Criteo.PubTag.Adapters.Prebid}function buildContext(t,e){var r="";e&&e.refererInfo&&(r=e.refererInfo.referer);var i=Object(__WEBPACK_IMPORTED_MODULE_0__src_utils_js__.parseUrl)(r).search,s={url:r,debug:"1"===i.pbt_debug,noLog:"1"===i.pbt_nolog,amp:!1};return t.forEach((function(t){"amp"===t.params.integrationMode&&(s.amp=!0)})),s}function buildCdbUrl(t){var e=CDB_ENDPOINT;return e+="?profileId="+PROFILE_ID_INLINE,e+="&av="+String(ADAPTER_VERSION),e+="&wv="+encodeURIComponent("6.13.0"),e+="&cb="+String(Math.floor(99999999999*Math.random())),t.amp&&(e+="&im=1"),t.debug&&(e+="&debug=1"),t.noLog&&(e+="&nolog=1"),e}function checkNativeSendId(t){return!(t.nativeParams&&(t.nativeParams.image&&(!0!==t.nativeParams.image.sendId||!0===t.nativeParams.image.sendTargetingKeys)||t.nativeParams.icon&&(!0!==t.nativeParams.icon.sendId||!0===t.nativeParams.icon.sendTargetingKeys)||t.nativeParams.clickUrl&&(!0!==t.nativeParams.clickUrl.sendId||!0===t.nativeParams.clickUrl.sendTargetingKeys)||t.nativeParams.displayUrl&&(!0!==t.nativeParams.displayUrl.sendId||!0===t.nativeParams.displayUrl.sendTargetingKeys)||t.nativeParams.privacyLink&&(!0!==t.nativeParams.privacyLink.sendId||!0===t.nativeParams.privacyLink.sendTargetingKeys)||t.nativeParams.privacyIcon&&(!0!==t.nativeParams.privacyIcon.sendId||!0===t.nativeParams.privacyIcon.sendTargetingKeys)))}function buildCdbRequest(t,e,r){var i,s,a={publisher:{url:t.url,ext:r.publisherExt},slots:e.map((function(t){i=t.params.networkId||i,s=t.schain||s;var e={impid:t.adUnitCode,transactionid:t.transactionId,auctionId:t.auctionId};if(t.params.zoneId&&(e.zoneid=t.params.zoneId),Object(__WEBPACK_IMPORTED_MODULE_0__src_utils_js__.deepAccess)(t,"ortb2Imp.ext")&&(e.ext=t.ortb2Imp.ext),t.params.ext&&(e.ext=_extends({},e.ext,t.params.ext)),t.params.publisherSubId&&(e.publishersubid=t.params.publisherSubId),t.params.nativeCallback||Object(__WEBPACK_IMPORTED_MODULE_0__src_utils_js__.deepAccess)(t,"mediaTypes.".concat(__WEBPACK_IMPORTED_MODULE_4__src_mediaTypes_js__.c))?(e.native=!0,checkNativeSendId(t)||Object(__WEBPACK_IMPORTED_MODULE_0__src_utils_js__.logWarn)(LOG_PREFIX+"all native assets containing URL should be sent as placeholders with sendId(icon, image, clickUrl, displayUrl, privacyLink, privacyIcon)"),e.sizes=parseSizes(Object(__WEBPACK_IMPORTED_MODULE_0__src_utils_js__.deepAccess)(t,"mediaTypes.banner.sizes"),parseNativeSize)):e.sizes=parseSizes(Object(__WEBPACK_IMPORTED_MODULE_0__src_utils_js__.deepAccess)(t,"mediaTypes.banner.sizes"),parseSize),hasVideoMediaType(t)){var r={playersizes:parseSizes(Object(__WEBPACK_IMPORTED_MODULE_0__src_utils_js__.deepAccess)(t,"mediaTypes.video.playerSize"),parseSize),mimes:t.mediaTypes.video.mimes,protocols:t.mediaTypes.video.protocols,maxduration:t.mediaTypes.video.maxduration,api:t.mediaTypes.video.api,skip:t.mediaTypes.video.skip,placement:t.mediaTypes.video.placement,minduration:t.mediaTypes.video.minduration,playbackmethod:t.mediaTypes.video.playbackmethod,startdelay:t.mediaTypes.video.startdelay},a=t.params.video;void 0!==a&&(r.skip=r.skip||a.skip||0,r.placement=r.placement||a.placement,r.minduration=r.minduration||a.minduration,r.playbackmethod=r.playbackmethod||a.playbackmethod,r.startdelay=r.startdelay||a.startdelay||0),e.video=r}return e}))};return i&&(a.publisher.networkid=i),s&&(a.source={ext:{schain:s}}),a.user={ext:r.userExt},r&&r.ceh&&(a.user.ceh=r.ceh),r&&r.gdprConsent&&(a.gdprConsent={},void 0!==r.gdprConsent.gdprApplies&&(a.gdprConsent.gdprApplies=!!r.gdprConsent.gdprApplies),a.gdprConsent.version=r.gdprConsent.apiVersion,void 0!==r.gdprConsent.consentString&&(a.gdprConsent.consentData=r.gdprConsent.consentString)),r&&r.uspConsent&&(a.user.uspIab=r.uspConsent),a}function parseSizes(t,e){return null==t?[]:Array.isArray(t[0])?t.map((function(t){return e(t)})):[e(t)]}function parseSize(t){return t[0]+"x"+t[1]}function parseNativeSize(t){return void 0===t[0]&&void 0===t[1]?"2x2":t[0]+"x"+t[1]}function hasVideoMediaType(t){return void 0!==Object(__WEBPACK_IMPORTED_MODULE_0__src_utils_js__.deepAccess)(t,"mediaTypes.video")}function hasValidVideoMediaType(t){var e=!0;if(["mimes","playerSize","maxduration","protocols","api","skip","placement","playbackmethod"].forEach((function(r){void 0===Object(__WEBPACK_IMPORTED_MODULE_0__src_utils_js__.deepAccess)(t,"mediaTypes.video."+r)&&void 0===Object(__WEBPACK_IMPORTED_MODULE_0__src_utils_js__.deepAccess)(t,"params.video."+r)&&(e=!1,Object(__WEBPACK_IMPORTED_MODULE_0__src_utils_js__.logError)("Criteo Bid Adapter: mediaTypes.video."+r+" is required"))})),e){var r=t.mediaTypes.video.placement||t.params.video.placement;if("instream"==t.mediaTypes.video.context&&1===r)return!0;if("outstream"==t.mediaTypes.video.context&&1!==r)return!0}return!1}function createPrebidNativeAd(t){return{sendTargetingKeys:!1,title:t.products[0].title,body:t.products[0].description,sponsoredBy:t.advertiser.description,icon:t.advertiser.logo,image:t.products[0].image,clickUrl:t.products[0].click_url,privacyLink:t.privacy.optout_click_url,privacyIcon:t.privacy.optout_image_url,cta:t.products[0].call_to_action,price:t.products[0].price,impressionTrackers:t.impression_pixels.map((function(t){return t.url}))}}function createNativeAd(t,e,r){var i="criteo_prebid_native_slots";return window[i]=window[i]||{},window[i][t]={callback:r,payload:e},'\n<script type="text/javascript">\nfor (var i = 0; i < 10; ++i) {\n var slots = window.parent.'.concat(i,';\n  if(!slots){continue;}\n  var responseSlot = slots["').concat(t,'"];\n  responseSlot.callback(responseSlot.payload);\n  break;\n}\n<\/script>')}function canFastBid(t){return t!==FAST_BID_VERSION_NONE}function getFastBidUrl(t){var e;if(t===FAST_BID_VERSION_LATEST)e="";else if(t){String(t).split(".")[0]<102&&Object(__WEBPACK_IMPORTED_MODULE_0__src_utils_js__.logWarn)("Specifying a Fastbid version which is not supporting version selection."),e="."+t}else e="."+FAST_BID_VERSION_CURRENT;return PUBLISHER_TAG_URL_TEMPLATE.replace(FAST_BID_VERSION_PLACEHOLDER,e)}function tryGetCriteoFastBid(){try{var fastBidStorageKey="criteo_fast_bid",hashPrefix="// Hash: ",fastBidFromStorage=storage.getDataFromLocalStorage(fastBidStorageKey);if(null!==fastBidFromStorage){var firstLineEndPosition=fastBidFromStorage.indexOf("\n"),firstLine=fastBidFromStorage.substr(0,firstLineEndPosition).trim();if(firstLine.substr(0,hashPrefix.length)!==hashPrefix)Object(__WEBPACK_IMPORTED_MODULE_0__src_utils_js__.logWarn)("No hash found in FastBid"),storage.removeDataFromLocalStorage(fastBidStorageKey);else{var publisherTagHash=firstLine.substr(hashPrefix.length),publisherTag=fastBidFromStorage.substr(firstLineEndPosition+1);Object(__WEBPACK_IMPORTED_MODULE_6_criteo_direct_rsa_validate_build_verify_js__.verify)(publisherTag,publisherTagHash,FAST_BID_PUBKEY_N,FAST_BID_PUBKEY_E)?(Object(__WEBPACK_IMPORTED_MODULE_0__src_utils_js__.logInfo)("Using Criteo FastBid"),eval(publisherTag)):(Object(__WEBPACK_IMPORTED_MODULE_0__src_utils_js__.logWarn)("Invalid Criteo FastBid found"),storage.removeDataFromLocalStorage(fastBidStorageKey))}}}catch(t){}}Object(__WEBPACK_IMPORTED_MODULE_2__src_adapters_bidderFactory_js__.registerBidder)(spec),window.tmzr.installedModules.push("criteoBidAdapter")},77:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=r(78),s=r(79);e.verify=function(t,e,r,a){var _=new i.BigInteger(i.b64toHex(e)),o=new i.BigInteger(i.b64toHex(r)),n=_.modPowInt(a,o);return i.removeExtraSymbols(n.toHexString())===s.Sha256.hash(t)}},78:function(t,e,r){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t){null!==t&&this.fromHexString(t)}return t.prototype.toHexString=function(){if(this.s<0)return"-"+this.negate().toHexString();var t,e=!1,r="",i=this.t,s=this.DB-i*this.DB%4;if(i-- >0)for(s<this.DB&&(t=this[i]>>s)>0&&(e=!0,r=d(t));i>=0;)s<4?(t=(this[i]&(1<<s)-1)<<4-s,t|=this[--i]>>(s+=this.DB-4)):(t=this[i]>>(s-=4)&15,s<=0&&(s+=this.DB,--i)),t>0&&(e=!0),e&&(r+=d(t));return e?r:"0"},t.prototype.fromHexString=function(e){if(null!==e){this.t=0,this.s=0;for(var r=e.length,i=!1,s=0;--r>=0;){var a=p(e,r);a<0?"-"==e.charAt(r)&&(i=!0):(i=!1,0==s?this[this.t++]=a:s+4>this.DB?(this[this.t-1]|=(a&(1<<this.DB-s)-1)<<s,this[this.t++]=a>>this.DB-s):this[this.t-1]|=a<<s,(s+=4)>=this.DB&&(s-=this.DB))}0,this.clamp(),i&&t.ZERO.subTo(this,this)}},t.prototype.negate=function(){var e=a();return t.ZERO.subTo(this,e),e},t.prototype.abs=function(){return this.s<0?this.negate():this},t.prototype.mod=function(e){var r=a();return this.abs().divRemTo(e,null,r),this.s<0&&r.compareTo(t.ZERO)>0&&e.subTo(r,r),r},t.prototype.copyTo=function(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s},t.prototype.lShiftTo=function(t,e){for(var r=t%this.DB,i=this.DB-r,s=(1<<i)-1,a=Math.floor(t/this.DB),_=this.s<<r&this.DM,o=this.t-1;o>=0;--o)e[o+a+1]=this[o]>>i|_,_=(this[o]&s)<<r;for(o=a-1;o>=0;--o)e[o]=0;e[a]=_,e.t=this.t+a+1,e.s=this.s,e.clamp()},t.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(0==(1&t))return 0;var e=3&t;return(e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)>0?this.DV-e:-e},t.prototype.dlShiftTo=function(t,e){var r;for(r=this.t-1;r>=0;--r)e[r+t]=this[r];for(r=t-1;r>=0;--r)e[r]=0;e.t=this.t+t,e.s=this.s},t.prototype.squareTo=function(t){for(var e=this.abs(),r=t.t=2*e.t;--r>=0;)t[r]=0;for(r=0;r<e.t-1;++r){var i=e.am(r,e[r],t,2*r,0,1);(t[r+e.t]+=e.am(r+1,2*e[r],t,2*r+1,i,e.t-r-1))>=e.DV&&(t[r+e.t]-=e.DV,t[r+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(r,e[r],t,2*r,0,1)),t.s=0,t.clamp()},t.prototype.multiplyTo=function(e,r){var i=this.abs(),s=e.abs(),a=i.t;for(r.t=a+s.t;--a>=0;)r[a]=0;for(a=0;a<s.t;++a)r[a+i.t]=i.am(0,s[a],r,a,0,i.t);r.s=0,r.clamp(),this.s!=e.s&&t.ZERO.subTo(r,r)},t.prototype.divRemTo=function(e,r,i){var s=e.abs();if(!(s.t<=0)){var o=this.abs();if(o.t<s.t)return null!=r&&r.fromHexString("0"),void(null!=i&&this.copyTo(i));null==i&&(i=a());var n=a(),c=this.s,p=e.s,d=this.DB-_(s[s.t-1]);d>0?(s.lShiftTo(d,n),o.lShiftTo(d,i)):(s.copyTo(n),o.copyTo(i));var u=n.t,l=n[u-1];if(0!=l){var h=l*(1<<this.F1)+(u>1?n[u-2]>>this.F2:0),f=this.FV/h,E=(1<<this.F1)/h,m=1<<this.F2,v=i.t,T=v-u,b=null==r?a():r;for(n.dlShiftTo(T,b),i.compareTo(b)>=0&&(i[i.t++]=1,i.subTo(b,i)),t.ONE.dlShiftTo(u,b),b.subTo(n,n);n.t<u;)n[n.t++]=0;for(;--T>=0;){var D=i[--v]==l?this.DM:Math.floor(i[v]*f+(i[v-1]+m)*E);if((i[v]+=n.am(0,D,i,T,0,u))<D)for(n.dlShiftTo(T,b),i.subTo(b,i);i[v]<--D;)i.subTo(b,i)}null!=r&&(i.drShiftTo(u,r),c!=p&&t.ZERO.subTo(r,r)),i.t=u,i.clamp(),d>0&&i.rShiftTo(d,i),c<0&&t.ZERO.subTo(i,i)}}},t.prototype.rShiftTo=function(t,e){e.s=this.s;var r=Math.floor(t/this.DB);if(r>=this.t)e.t=0;else{var i=t%this.DB,s=this.DB-i,a=(1<<i)-1;e[0]=this[r]>>i;for(var _=r+1;_<this.t;++_)e[_-r-1]|=(this[_]&a)<<s,e[_-r]=this[_]>>i;i>0&&(e[this.t-r-1]|=(this.s&a)<<s),e.t=this.t-r,e.clamp()}},t.prototype.drShiftTo=function(t,e){for(var r=t;r<this.t;++r)e[r-t]=this[r];e.t=Math.max(this.t-t,0),e.s=this.s},t.prototype.subTo=function(t,e){for(var r=0,i=0,s=Math.min(t.t,this.t);r<s;)i+=this[r]-t[r],e[r++]=i&this.DM,i>>=this.DB;if(t.t<this.t){for(i-=t.s;r<this.t;)i+=this[r],e[r++]=i&this.DM,i>>=this.DB;i+=this.s}else{for(i+=this.s;r<t.t;)i-=t[r],e[r++]=i&this.DM,i>>=this.DB;i-=t.s}e.s=i<0?-1:0,i<-1?e[r++]=this.DV+i:i>0&&(e[r++]=i),e.t=r,e.clamp()},t.prototype.clamp=function(){for(var t=this.s&this.DM;this.t>0&&this[this.t-1]==t;)--this.t},t.prototype.modPowInt=function(t,e){var r;return r=t<256||e.isEven()?new u(e):new l(e),this.exp(t,r)},t.prototype.exp=function(e,r){if(e>4294967295||e<1)return t.ONE;var i=a(),s=a(),o=r.convert(this),n=_(e)-1;for(o.copyTo(i);--n>=0;)if(r.sqrTo(i,s),(e&1<<n)>0)r.mulTo(s,o,i);else{var c=i;i=s,s=c}return r.revert(i)},t.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},t.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var r=this.t;if(0!=(e=r-t.t))return this.s<0?-e:e;for(;--r>=0;)if(0!=(e=this[r]-t[r]))return e;return 0},t.prototype.am1=function(t,e,r,i,s,a){for(;--a>=0;){var _=e*this[t++]+r[i]+s;s=Math.floor(_/67108864),r[i++]=67108863&_}return s},t.prototype.am2=function(t,e,r,i,s,a){for(var _=32767&e,o=e>>15;--a>=0;){var n=32767&this[t],c=this[t++]>>15,p=o*n+c*_;s=((n=_*n+((32767&p)<<15)+r[i]+(1073741823&s))>>>30)+(p>>>15)+o*c+(s>>>30),r[i++]=1073741823&n}return s},t.prototype.am3=function(t,e,r,i,s,a){for(var _=16383&e,o=e>>14;--a>=0;){var n=16383&this[t],c=this[t++]>>14,p=o*n+c*_;s=((n=_*n+((16383&p)<<14)+r[i]+s)>>28)+(p>>14)+o*c,r[i++]=268435455&n}return s},t}();function a(){return new s(null)}function _(t){var e,r=1;return 0!=(e=t>>>16)&&(t=e,r+=16),0!=(e=t>>8)&&(t=e,r+=8),0!=(e=t>>4)&&(t=e,r+=4),0!=(e=t>>2)&&(t=e,r+=2),0!=(e=t>>1)&&(t=e,r+=1),r}e.BigInteger=s,e.nbi=a,e.nbits=_;var o,n,c=[];for(o="0".charCodeAt(0),n=0;n<=9;++n)c[o++]=n;for(o="a".charCodeAt(0),n=10;n<36;++n)c[o++]=n;for(o="A".charCodeAt(0),n=10;n<36;++n)c[o++]=n;function p(t,e){var r=c[t.charCodeAt(e)];return null==r?-1:r}e.intAt=p;function d(t){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(t)}e.int2char=d;e.b64toHex=function(t){var e,r="",i=0,s=0;for(e=0;e<t.length&&"="!=t.charAt(e);++e){var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(t.charAt(e));a<0||(0==i?(r+=d(a>>2),s=3&a,i=1):1==i?(r+=d(s<<2|a>>4),s=15&a,i=2):2==i?(r+=d(s),r+=d(a>>2),s=3&a,i=3):(r+=d(s<<2|a>>4),r+=d(15&a),i=0))}return 1==i&&(r+=d(s<<2)),r},e.removeExtraSymbols=function(t){return t.replace(/^1f+00/,"").replace("3031300d060960864801650304020105000420","")};var u=function(){function t(t){this.m=t}return t.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},t.prototype.revert=function(t){return t},t.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},t.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}(),l=function(){function t(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}return t.prototype.convert=function(t){var e=a();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&e.compareTo(s.ZERO)>0&&this.m.subTo(e,e),e},t.prototype.revert=function(t){var e=a();return t.copyTo(e),this.reduce(e),e},t.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e<this.m.t;++e){var r=32767&t[e],i=r*this.mpl+((r*this.mph+(t[e]>>15)*this.mpl&this.um)<<15)&t.DM;for(t[r=e+this.m.t]+=this.m.am(0,i,t,e,0,this.m.t);t[r]>=t.DV;)t[r]-=t.DV,t[++r]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},t.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}();function h(t){var e=a();return e.fromHexString(t.toString()),e}e.nbv=h,s.ZERO=h(0),s.ONE=h(1),"Microsoft Internet Explorer"==navigator.appName?(s.prototype.am=s.prototype.am2,i=30):"Netscape"!=navigator.appName?(s.prototype.am=s.prototype.am1,i=26):(s.prototype.am=s.prototype.am3,i=28),s.prototype.DB=i,s.prototype.DM=(1<<i)-1,s.prototype.DV=1<<i;s.prototype.FV=Math.pow(2,52),s.prototype.F1=52-i,s.prototype.F2=2*i-52},79:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(){}return t.hash=function(e){e=t.utf8Encode(e||"");for(var r=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],i=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],s=(e+=String.fromCharCode(128)).length/4+2,a=Math.ceil(s/16),_=new Array(a),o=0;o<a;o++){_[o]=new Array(16);for(var n=0;n<16;n++)_[o][n]=e.charCodeAt(64*o+4*n)<<24|e.charCodeAt(64*o+4*n+1)<<16|e.charCodeAt(64*o+4*n+2)<<8|e.charCodeAt(64*o+4*n+3)<<0}var c=8*(e.length-1)/Math.pow(2,32),p=8*(e.length-1)>>>0;_[a-1][14]=Math.floor(c),_[a-1][15]=p;for(o=0;o<a;o++){for(var d=new Array(64),u=0;u<16;u++)d[u]=_[o][u];for(u=16;u<64;u++)d[u]=t.q1(d[u-2])+d[u-7]+t.q0(d[u-15])+d[u-16]>>>0;var l=i[0],h=i[1],f=i[2],E=i[3],m=i[4],v=i[5],T=i[6],b=i[7];for(u=0;u<64;u++){var D=b+t.z1(m)+t.Ch(m,v,T)+r[u]+d[u],y=t.z0(l)+t.Maj(l,h,f);b=T,T=v,v=m,m=E+D>>>0,E=f,f=h,h=l,l=D+y>>>0}i[0]=i[0]+l>>>0,i[1]=i[1]+h>>>0,i[2]=i[2]+f>>>0,i[3]=i[3]+E>>>0,i[4]=i[4]+m>>>0,i[5]=i[5]+v>>>0,i[6]=i[6]+T>>>0,i[7]=i[7]+b>>>0}var O=new Array(i.length);for(b=0;b<i.length;b++)O[b]=("00000000"+i[b].toString(16)).slice(-8);return O.join("")},t.utf8Encode=function(t){try{return(new TextEncoder).encode(t).reduce((function(t,e){return t+String.fromCharCode(e)}),"")}catch(e){return unescape(encodeURIComponent(t))}},t.ROTR=function(t,e){return e>>>t|e<<32-t},t.z0=function(e){return t.ROTR(2,e)^t.ROTR(13,e)^t.ROTR(22,e)},t.z1=function(e){return t.ROTR(6,e)^t.ROTR(11,e)^t.ROTR(25,e)},t.q0=function(e){return t.ROTR(7,e)^t.ROTR(18,e)^e>>>3},t.q1=function(e){return t.ROTR(17,e)^t.ROTR(19,e)^e>>>10},t.Ch=function(t,e,r){return t&e^~t&r},t.Maj=function(t,e,r){return t&e^t&r^e&r},t}();e.Sha256=i}},[409]);
tmzrChunk([317],{411:function(e,t,o){e.exports=o(412)},412:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o.d(t,"storage",(function(){return l})),o.d(t,"criteoIdSubmodule",(function(){return h}));var n=o(0),r=o(4),c=o(21),i=o(8),a=o(7),d="criteo",l=Object(a.b)(91,d),u="cto_bidid",s="cto_bundle",b=new Date(0).toString(),p=new Date(Object(n.timestamp)()+33696e6).toString();function f(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=Object(n.parseUrl)(e,{noDecodeWholeURL:!0});return t?"".concat(o.hostname):"".concat(o.protocol,"://").concat(o.hostname).concat(o.port?":"+o.port:"","/")}function g(e){return l.getCookie(e)||l.getDataFromLocalStorage(e)}function m(e,t,o){e&&t&&(l.setDataInLocalStorage(e,t),I(e,t,p,o,!0))}function I(e,t,o,n,r){for(var c=n.split("."),i=0;i<c.length;++i){var a=c.slice(c.length-i-1,c.length).join(".");try{if(l.setCookie(e,t,o,null,"."+a),r){var d=l.getCookie(e);if(d&&d===t)break}}catch(e){}}}function v(e,t,o){var i=l.cookiesAreEnabled(),a=l.localStorageIsEnabled(),d=f(Object(c.a)().referer),p=f(document.location.href,!0),g="undefined"!=typeof criteo_pubtag,v=function(e,t,o,n,r,c,i){return"https://gum.criteo.com/sid/json?origin=prebid"+"".concat(e?"&topUrl="+encodeURIComponent(e):"")+"".concat(t?"&domain="+encodeURIComponent(t):"")+"".concat(o?"&bundle="+encodeURIComponent(o):"")+"".concat(i?"&gdprString="+encodeURIComponent(i):"")+"".concat(n?"&cw=1":"")+"".concat(c?"&pbt=1":"")+"".concat(r?"&lsw=1":"")}(d,p,e.bundle,i,a,g,t),h={success:function(e){var t,r=JSON.parse(e);r.acwsUrl?("string"==typeof r.acwsUrl?[r.acwsUrl]:r.acwsUrl).forEach((function(e){return Object(n.triggerPixel)(e)})):r.bundle&&m(s,r.bundle,p);if(r.bidId){m(u,r.bidId,p);var c={criteoId:r.bidId};o(c)}else I(t=u,"",b,p,!0),l.removeDataFromLocalStorage(t),o()},error:function(e){Object(n.logError)("criteoIdSystem: unable to sync user id",e),o()}};Object(r.a)(v,h,void 0,{method:"GET",contentType:"application/json",withCredentials:!0})}var h={name:d,gvlid:91,decode:function(e){return e},getId:function(e,t){var o=t&&"boolean"==typeof t.gdprApplies&&t.gdprApplies?t.consentString:void 0,n={bundle:g(s),bidId:g(u)};return{id:n.bidId?{criteoId:n.bidId}:void 0,callback:function(e){return v(n,o,e)}}}};Object(i.e)("userId",h),window.tmzr.installedModules.push("criteoIdSystem")}},[411]);
tmzrChunk([316],{413:function(e,n,r){e.exports=r(414)},414:function(e,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),r.d(n,"currencySupportEnabled",(function(){return O})),r.d(n,"currencyRates",(function(){return j})),r.d(n,"ready",(function(){return m})),n.setConfig=S,n.addBidResponseHook=I;var o=r(0),t=r(14),c=r(43),i=r(5),u=r.n(i),a=r(4),s=r(3),f=r(8);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var d,y="https://cdn.jsdelivr.net/gh/prebid/currency-file@1/latest.json?date=$$TODAY$$",g=[],v={},b=!1,p=!0,h="USD",O=!1,j={},C={},m=function(){var e,n,r;function o(){e=!1,n=null,r=new Promise((function(r){n=r,e&&r()}))}return o(),{done:function(){e=!0,null!=n&&n()},reset:o,promise:function(){return r}}}();function S(e){var n=y;if("object"===l(e.rates)&&(j.conversions=e.rates,b=!0,p=!1),"object"===l(e.defaultRates)&&(d=e.defaultRates,j.conversions=d,b=!0),"string"==typeof e.adServerCurrency){Object(o.logInfo)("enabling currency support",arguments),h=e.adServerCurrency,e.conversionRateFile&&(Object(o.logInfo)("currency using override conversionRateFile:",e.conversionRateFile),n=e.conversionRateFile);var r=n.indexOf("$$TODAY$$");if(-1!==r){var t=new Date,c="".concat(t.getMonth()+1),i="".concat(t.getDate());c.length<2&&(c="0".concat(c)),i.length<2&&(i="0".concat(i));var u="".concat(t.getFullYear()).concat(c).concat(i);n="".concat(n.substring(0,r)).concat(u).concat(n.substring(r+9,n.length))}w(n)}else Object(o.logInfo)("disabling currency support"),D();"object"===l(e.bidderCurrencyDefault)&&(C=e.bidderCurrencyDefault)}function R(e){d?(Object(o.logWarn)(e),Object(o.logWarn)("Currency failed loading rates, falling back to currency.defaultRates")):Object(o.logError)(e)}function w(e){v={},O=!0,Object(o.logInfo)("Installing addBidResponse decorator for currency module",arguments),Object(t.a)().convertCurrency=function(e,n,r){return parseFloat(e)*U(n,r)},Object(f.a)("addBidResponse").before(I,100),p&&(p=!1,Object(a.a)(e,{success:function(e){try{j=JSON.parse(e),Object(o.logInfo)("currencyRates set to "+JSON.stringify(j)),b=!0,F(),m.done()}catch(n){R("Failed to parse currencyRates response: "+e)}},error:function(){R.apply(void 0,arguments),m.done()}}))}function D(){Object(o.logInfo)("Uninstalling addBidResponse decorator for currency module",arguments),Object(f.a)("addBidResponse").getHooks({hook:I}).remove(),delete Object(t.a)().convertCurrency,h="USD",v={},O=!1,b=!1,p=!0,j={},C={}}function I(e,n,r){if(!r)return e.call(this,n);var t=r.bidderCode||r.bidder;if(C[t]){var i=C[t];r.currency&&i!==r.currency?Object(o.logWarn)("Currency default '".concat(t,": ").concat(i,"' ignored. adapter specified '").concat(r.currency,"'")):r.currency=i}if(r.currency||(Object(o.logWarn)('Currency not specified on bid.  Defaulted to "USD"'),r.currency="USD"),r.getCpmInNewCurrency=function(e){return(parseFloat(this.cpm)*U(this.currency,e)).toFixed(3)},r.currency===h)return e.call(this,n,r);g.push(function(e,n,r){return function(){var t=r[1];if(void 0!==t&&"currency"in t&&"cpm"in t){var i=t.currency;try{var a=U(i);1!==a&&(t.cpm=(parseFloat(t.cpm)*a).toFixed(4),t.currency=h)}catch(e){Object(o.logWarn)("Returning NO_BID, getCurrencyConversion threw error: ",e),r[1]=Object(c.a)(u.a.STATUS.NO_BID,t.getIdentifiers())}}return e.apply(n,r)}}(e,this,[n,r])),!O||b?F():e.bail(m.promise())}function F(){for(;g.length>0;)g.shift()()}function U(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h,t=null,c="".concat(e,"->").concat(r);if(c in v)t=v[c],Object(o.logMessage)("Using conversionCache value "+t+" for "+c);else if(!1===O){if("USD"!==e)throw new Error("Prebid currency support has not been enabled and fromCurrency is not USD");t=1}else if(e===r)t=1;else if(e in j.conversions){if(!(r in(n=j.conversions[e])))throw new Error("Specified adServerCurrency in config '"+r+"' not found in the currency rates file");t=n[r],Object(o.logInfo)("getCurrencyConversion using direct "+e+" to "+r+" conversionRate "+t)}else if(r in j.conversions){if(!(e in(n=j.conversions[r])))throw new Error("Specified fromCurrency '"+e+"' not found in the currency rates file");t=$(1/n[e],4),Object(o.logInfo)("getCurrencyConversion using reciprocal "+e+" to "+r+" conversionRate "+t)}else{var i=Object.keys(j.conversions)[0];if(!(e in j.conversions[i]))throw new Error("Specified fromCurrency '"+e+"' not found in the currency rates file");var u=1/j.conversions[i][e];if(!(r in j.conversions[i]))throw new Error("Specified adServerCurrency in config '"+r+"' not found in the currency rates file");var a=j.conversions[i][r];t=$(u*a,4),Object(o.logInfo)("getCurrencyConversion using intermediate "+e+" thru "+i+" to "+r+" conversionRate "+t)}return c in v||(Object(o.logMessage)("Adding conversionCache value "+t+" for "+c),v[c]=t),t}function $(e,n){for(var r=1,o=0;o<n;o++)r+="0";return Math.round(e*r)/r}s.b.getConfig("currency",(function(e){return S(e.currency)})),window.tmzr.installedModules.push("currency")}},[413]);
tmzrChunk([305],{441:function(e,r,t){e.exports=t(442)},442:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),t.d(r,"spec",(function(){return z})),r.matchRequest=K,r.checkDeepArray=G,r.defaultSize=L,r.bindUserId=Q,r.getApi=Y,r.getPlaybackmethod=Z,r.getProtocols=ee,r.cleanVast=re,r.getFloor=te,r.cleanSizes=ne,r.shuffle=ie,r.removeDuplicate=ae,r.upto5=se;var n=t(13),i=t(0),a=t(1),s=t(2),o=t(11),d=t.n(o),u=t(12),c=t.n(u),p=t(19),l=t(3),m=t(7);function f(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var n,i,a=[],s=!0,o=!1;try{for(t=t.call(e);!(s=(n=t.next()).done)&&(a.push(n.value),!r||a.length!==r);s=!0);}catch(e){o=!0,i=e}finally{try{s||null==t.return||t.return()}finally{if(o)throw i}}return a}(e,r)||h(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function v(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?y(Object(t),!0).forEach((function(r){b(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):y(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function b(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function g(e){return function(e){if(Array.isArray(e))return _(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||h(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,r){if(e){if("string"==typeof e)return _(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_(e,r):void 0}}function _(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function I(e){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function A(){return(A=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var k="districtmDMX",x="//ib.adnxs.com/ut/v3/prebid",T="https://dmx.districtm.io/b/v1",S=["id","mimes","minduration","maxduration","startdelay","skippable","playback_method","frameworks"],w=["age","external_uid","segments","gender","dnt","language"],O=["geo","device_id"],C={body:"description",cta:"ctatext",image:{serverName:"main_image",requiredParams:{required:!0},minimumParams:{sizes:[{}]}},icon:{serverName:"icon",requiredParams:{required:!0},minimumParams:{sizes:[{}]}},sponsoredBy:"sponsored_by"},P=Object(m.b)(32,k),R={playback_method:{auto_play_sound_on:1,auto_play_sound_off:2,click_to_play:3,mouse_over:4,viewport_sound_on:5,viewport_sound_off:6}},z={code:k,supportedMediaTypes:["banner","video"],isBidRequestValid:function(e){return!(!e.params.dmxid||!e.params.memberid)},getMappingFileInfo:function(){return{url:"https://acdn.adnxs.com/prebid/appnexus-mapping/mappings.json",refreshInDays:2}},test:function(){return-1!==window.location.href.indexOf("dmTest=true")?1:0},buildRequests:function(e,r){return(t=e,t.filter((function(e){return void 0===e.mediaTypes||void 0===e.mediaTypes.video}))).length,[H(e,r),$(e,r)];var t},interpretResponse:function(e,r){var t=[];return(e=e&&e.body?e.body:null)?e.tags?function(e,r){var t=this,a=r.bidderRequest;e=e.body;var o=[];if(!e||e.error){var u="in response for ".concat(a.bidderCode," adapter");return e&&e.error&&(u+=": ".concat(e.error)),i.logError(u),o}e.tags&&e.tags.forEach((function(e){var r,u=(r=e)&&r.ads&&r.ads.length&&d()(r.ads,(function(e){return e.rtb}));if(u&&0!==u.cpm&&c()(t.supportedMediaTypes,u.ad_type)){var l=function(e,r,t){var a=i.getBidRequest(e.uuid,[t]),o={requestId:e.uuid,cpm:r.cpm,creativeId:r.creative_id,dealId:r.deal_id,currency:"USD",netRevenue:!0,ttl:300,adUnitCode:a.adUnitCode,appnexus:{buyerMemberId:r.buyer_member_id,dealPriority:r.deal_priority,dealCode:r.deal_code}};r.advertiser_id&&(o.meta=A({},o.meta,{advertiserId:r.advertiser_id}));if(r.rtb.video){switch(A(o,{width:r.rtb.video.player_width,height:r.rtb.video.player_height,vastImpUrl:r.notify_url,ttl:3600}),i.deepAccess(a,"mediaTypes.video.context")){case s.a:var u=getIabSubCategory(a.bidder,r.brand_category_id);o.meta=A({},o.meta,{primaryCatId:u});var c=r.deal_priority;o.video={context:s.a,durationSeconds:Math.floor(r.rtb.video.duration_ms/1e3),dealTier:c},o.vastUrl=r.rtb.video.asset_url;break;case OUTSTREAM:if(o.adResponse=e,o.adResponse.ad=o.adResponse.ads[0],o.adResponse.ad.video=o.adResponse.ad.rtb.video,o.vastXml=r.rtb.video.content,r.renderer_url){var l=d()(t.bids,(function(r){return r.bidId===e.uuid})),m=i.deepAccess(l,"renderer.options");o.renderer=function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=n.a.install({id:r.renderer_id,url:r.renderer_url,config:t,loaded:!1,adUnitCode:e});try{a.setRender(J)}catch(e){i.logWarn("Prebid Error calling setRender on renderer",e)}return a.setEventHandlers({impression:function(){return i.logMessage("AppNexus outstream video impression event")},loaded:function(){return i.logMessage("AppNexus outstream video loaded event")},ended:function(){i.logMessage("AppNexus outstream renderer video event"),document.querySelector("#".concat(e)).style.display="none"}}),a}(o.adUnitCode,r,m)}break;case p.a:o.vastUrl=r.notify_url+"&redir="+encodeURIComponent(r.rtb.video.asset_url)}}else if(r.rtb[s.c]){var f=r.rtb[s.c],y=r.viewability.config.replace("src=","data-src="),v=f.javascript_trackers;null==v?v=y:i.isStr(v)?v=[v,y]:v.push(y),o[s.c]={title:f.title,body:f.desc,body2:f.desc2,cta:f.ctatext,rating:f.rating,sponsoredBy:f.sponsored,privacyLink:f.privacy_link,address:f.address,downloads:f.downloads,likes:f.likes,phone:f.phone,price:f.price,salePrice:f.saleprice,clickUrl:f.link.url,displayUrl:f.displayurl,clickTrackers:f.link.click_trackers,impressionTrackers:f.impression_trackers,javascriptTrackers:v},f.main_img&&(o.native.image={url:f.main_img.url,height:f.main_img.height,width:f.main_img.width}),f.icon&&(o.native.icon={url:f.icon.url,height:f.icon.height,width:f.icon.width})}else{A(o,{width:r.rtb.banner.width,height:r.rtb.banner.height,ad:r.rtb.banner.content});try{if(r.rtb.trackers){var b=r.rtb.trackers[0].impression_urls[0],g=i.createTrackPixelHtml(b);o.ad+=g}}catch(e){i.logError("Error appending tracking pixel",e)}}return o}(e,u,a);l.mediaType=function(e){var r=e.ad_type;return r===s.d?s.d:r===s.c?s.c:s.b}(u),o.push(l)}}));if(e.debug&&e.debug.debug_info){var l="AppNexus Debug Auction for Prebid\n\n"+e.debug.debug_info;l=l.replace(/(<td>|<th>)/gm,"\t").replace(/(<\/td>|<\/th>)/gm,"\n").replace(/^<br>/gm,"").replace(/(<br>\n|<br>)/gm,"\n").replace(/<h1>(.*)<\/h1>/gm,"\n\n===== $1 =====\n\n").replace(/<h[2-6]>(.*)<\/h[2-6]>/gm,"\n\n*** $1 ***\n\n").replace(/(<([^>]+)>)/gim,""),i.logMessage("https://console.appnexus.com/docs/understanding-the-debug-auction"),i.logMessage(l)}return o}(e,r):e.seatbid?function(e,r){return(e=e.body||{}).seatbid&&i.isArray(e.seatbid)?e.seatbid.reduce((function(e,t){var n=t.bid.reduce((function(e,t){if(e.price<t.price){var n=K(t.impid,r),i=L(n),a=i.width,s=i.height;return t.cpm=parseFloat(t.price).toFixed(2),t.bidId=t.impid,t.requestId=t.impid,t.width=t.w||a,t.height=t.h||s,t.mediaType=n.mediaTypes&&n.mediaTypes.video?"video":null,t.mediaType&&(t.vastXml=re(t.adm)),t.dealid&&(t.dealId=t.dealid),t.uuid=t.bidId,t.ad=t.adm,t.netRevenue=!0,t.creativeId=t.crid,t.currency="USD",t.ttl=60,t.meta=t.meta||{},t.adomain&&t.adomain.length>0&&(t.meta.advertiserDomains=t.adomain),t}return e.cpm=e.price,e}),{price:0});return n.adm&&e.push(n),e}),[]).filter((function(e){return!!e.bidId})):[]}(e,r):t:t},transformBidParams:function(e,r){return e=i.convertTypes({member:"string",invCode:"string",placementId:"number",keywords:i.transformBidderParamKeywords},e),r&&(e.use_pmt_rule="boolean"==typeof e.usePaymentRule&&e.usePaymentRule,e.usePaymentRule&&delete e.usePaymentRule,Object.keys(e).forEach((function(r){var t=i.convertCamelToUnderscore(r);t!==r&&(e[t]=e[r],delete e[r])}))),e},getUserSyncs:function(e){if(e.iframeEnabled)return[{type:"iframe",url:"https://cdn.districtm.io/ids/index.html"},{type:"iframe",url:"//acdn.adnxs.com/ib/static/usersync/v3/async_usersync.html"}]}};function E(e){var r,t,n={};if(n.sizes=j(e.sizes),n.primary_size=n.sizes[0],n.ad_types=[],n.uuid=e.bidId,e.params.member="1908",e.params.invCode="dm-pl-".concat(e.params.dmxid),e.params.placementId?n.id=parseInt(e.params.placementId,10):n.code=e.params.invCode,n.allow_smaller_sizes=e.params.allowSmallerSizes||!1,n.use_pmt_rule=e.params.usePaymentRule||!1,n.prebid=!0,n.disable_psa=!0,e.params.reserve&&(n.reserve=e.params.reserve),e.params.position&&(n.position={above:1,below:2}[e.params.position]||0),e.params.trafficSourceCode&&(n.traffic_source_code=e.params.trafficSourceCode),e.params.privateSizes&&(n.private_sizes=j(e.params.privateSizes)),e.params.supplyType&&(n.supply_type=e.params.supplyType),e.params.pubClick&&(n.pubclick=e.params.pubClick),e.params.extInvCode&&(n.ext_inv_code=e.params.extInvCode),e.params.externalImpId&&(n.external_imp_id=e.params.externalImpId),i.isEmpty(e.params.keywords)||(n.keywords=i.transformBidderParamKeywords(e.params.keywords)),(e.mediaType===s.c||i.deepAccess(e,"mediaTypes.".concat(s.c)))&&(n.ad_types.push(s.c),e.nativeParams)){var a=(r=e.nativeParams,t={},Object.keys(r).forEach((function(e){var n=C[e]&&C[e].serverName||C[e]||e,i=C[e]&&C[e].requiredParams;t[n]=A({},i,r[e]);var a=C[e]&&C[e].minimumParams;if(i&&a){var s=Object.keys(r[e]),o=Object.keys(i);0===s.filter((function(e){return!c()(o,e)})).length&&(t[n]=A({},t[n],a))}})),t);n[s.c]={layouts:[a]}}var o=i.deepAccess(e,"mediaTypes.".concat(s.d)),d=i.deepAccess(e,"mediaTypes.video.context");return(e.mediaType===s.d||o)&&n.ad_types.push(s.d),(e.mediaType===s.d||o&&"outstream"!==d)&&(n.require_asset_url=!0),e.params.video&&(n.video={},Object.keys(e.params.video).filter((function(e){return c()(S,e)})).forEach((function(r){switch(r){case"context":case"playback_method":var t=e.params.video[r];t=i.isArray(t)?t[0]:t,n.video[r]=R[r][t];break;default:n.video[r]=e.params.video[r]}}))),(i.isEmpty(e.mediaType)&&i.isEmpty(e.mediaTypes)||e.mediaType===s.b||e.mediaTypes&&e.mediaTypes[s.b])&&n.ad_types.push(s.b),n}function j(e){var r=[],t={};if(i.isArray(e)&&2===e.length&&!i.isArray(e[0]))t.width=parseInt(e[0],10),t.height=parseInt(e[1],10),r.push(t);else if("object"===I(e))for(var n=0;n<e.length;n++){var a=e[n];(t={}).width=parseInt(a[0],10),t.height=parseInt(a[1],10),r.push(t)}return r}function D(e){return!!e.params.user}function M(e){return!!parseInt(e.params.member,10)}function U(e){if(e.params)return!!e.params.app}function q(e){return e.params&&e.params.app?!!e.params.app.id:!!e.params.app}function N(e){return!!e.debug}function V(e){return e.mediaTypes&&e.mediaTypes.video&&e.mediaTypes.video.context===s.a}function B(e,r){var t=r.mediaTypes.video,n=t.durationRangeSec,a=t.requireExactDuration,s=function(e){var r=e.adPodDurationSec,t=e.durationRangeSec,n=e.requireExactDuration,a=i.getMinValueFromArray(t),s=Math.floor(r/a);return n?Math.max(s,t.length):s}(r.mediaTypes.video),o=i.getMaxValueFromArray(n),d=e.filter((function(e){return e.uuid===r.bidId})),u=i.fill.apply(i,g(d).concat([s]));if(a){var c=Math.ceil(s/n.length),p=i.chunk(u,c);n.forEach((function(e,r){p[r].map((function(r){F(r,"minduration",e),F(r,"maxduration",e)}))}))}else u.map((function(e){return F(e,"maxduration",o)}));return u}function F(e,r,t){i.isEmpty(e.video)&&(e.video={}),e.video[r]=t}function J(e){var r,t;r=e.adUnitCode,(t=document.getElementById(r).querySelectorAll("div[id^='google_ads']"))[0]&&t[0].style.setProperty("display","none"),e.renderer.push((function(){window.ANOutstreamVideo.renderAd({tagId:e.adResponse.tag_id,sizes:[e.getSize().split("x")],targetId:e.adUnitCode,uuid:e.adResponse.uuid,adResponse:e.adResponse,rendererOptions:e.renderer.getConfig()},W.bind(null,e))}))}function W(e,r,t){e.renderer.handleVideoEvent({id:r,eventName:t})}function X(e,r){var t=[],n={};if(function(e){var r=!0;return e&&e.gdprConsent&&e.gdprConsent.gdprApplies&&2===e.gdprConsent.apiVersion&&(r=!(!0!==i.deepAccess(e.gdprConsent,"vendorData.purpose.consents.1"))),r}(r)||(n={withCredentials:!1}),e.tags.length>15){var a=i.deepClone(e);i.chunk(e.tags,15).forEach((function(e){a.tags=e;var i=JSON.stringify(a);t.push({method:"POST",url:x,data:i,bidderRequest:r,options:n})}))}else{var s=JSON.stringify(e);t={method:"POST",url:x,data:s,bidderRequest:r,options:n}}return t}function $(e,r){var t=l.b.getConfig("bidderTimeout"),n=null,a={id:i.generateUUID(),cur:["USD"],tmax:t-300,test:0,site:{publisher:{id:String(e[0].params.memberid)||null}}};try{var s=l.b.getConfig("dmx");a.user=s.user||{};var o=s.site||{};a.site=v(v({},a.site),o)}catch(e){}var d=[];e[0]&&e[0].userId&&(Q(d,i.deepAccess(e[0],"userId.idl_env"),"liveramp.com",1),Q(d,i.deepAccess(e[0],"userId.id5id"),"id5-sync.com",1),Q(d,i.deepAccess(e[0],"userId.pubcid"),"pubcid.org",1),Q(d,i.deepAccess(e[0],"userId.tdid"),"adserver.org",1),Q(d,i.deepAccess(e[0],"userId.criteoId"),"criteo.com",1),Q(d,i.deepAccess(e[0],"userId.britepoolid"),"britepool.com",1),Q(d,i.deepAccess(e[0],"userId.lipb.lipbid"),"liveintent.com",1),Q(d,i.deepAccess(e[0],"userId.intentiqid"),"intentiq.com",1),Q(d,i.deepAccess(e[0],"userId.lotamePanoramaId"),"lotame.com",1),Q(d,i.deepAccess(e[0],"userId.parrableId"),"parrable.com",1),Q(d,i.deepAccess(e[0],"userId.netId"),"netid.de",1),Q(d,i.deepAccess(e[0],"userId.sharedid"),"sharedid.org",1),a.user=a.user||{},a.user.ext=a.user.ext||{},a.user.ext.eids=d),a.test||delete a.test,r.gdprConsent&&(a.regs={},a.regs.ext={},a.regs.ext.gdpr=!0===r.gdprConsent.gdprApplies?1:0,a.user={},a.user.ext={},a.user.ext.consent=r.gdprConsent.consentString),a.regs=a.regs||{},a.regs.coppa=!0===l.b.getConfig("coppa")?1:0,r&&r.uspConsent&&(a.regs=a.regs||{},a.regs.ext=a.regs.ext||{},a.regs.ext.us_privacy=r.uspConsent);try{n=e[0].schain,a.source={},a.source.ext={},a.source.ext.schain=n||{}}catch(e){}var u=e.map((function(e){var r={};return r.id=e.bidId,r.tagid=String(e.params.dmxid),r.secure=1,r.bidfloor=te(e),e.mediaTypes&&e.mediaTypes.video?r.video={topframe:1,skip:e.mediaTypes.video.skippable||0,linearity:e.mediaTypes.video.linearity||1,minduration:e.mediaTypes.video.minduration||5,maxduration:e.mediaTypes.video.maxduration||60,playbackmethod:Z(e.mediaTypes.video.playback_method),api:Y(e.mediaTypes.video),mimes:e.mediaTypes.video.mimes||["video/mp4"],protocols:ee(e.mediaTypes.video),w:e.mediaTypes.video.playerSize[0][0],h:e.mediaTypes.video.playerSize[0][1],format:e.mediaTypes.video.playerSize.map((function(e){return{w:e[0],h:e[1]}})).filter((function(e){return"number"==typeof e.w&&"number"==typeof e.h}))}:r.banner={topframe:1,w:ne(e.sizes,"w"),h:ne(e.sizes,"h"),format:ne(e.sizes).map((function(e){return{w:e[0],h:e[1]}})).filter((function(e){return"number"==typeof e.w&&"number"==typeof e.h}))},r}));return u.length<=5?(a.imp=u,{method:"POST",url:T,data:JSON.stringify(a),bidderRequest:r}):se(u,a,r,T)}function H(e,r){var t=e.map(E),n=d()(e,D),a={};!0===l.b.getConfig("coppa")&&(a={coppa:!0}),n&&Object.keys(n.params.user).filter((function(e){return c()(w,e)})).forEach((function(e){var r=i.convertCamelToUnderscore(e);a[r]=n.params.user[e]}));var s,o=d()(e,U);o&&o.params&&o.params.app&&(s={},Object.keys(o.params.app).filter((function(e){return c()(O,e)})).forEach((function(e){return s[e]=o.params.app[e]})));var u,p=d()(e,q);p&&p.params&&o.params.app&&o.params.app.id&&(u={appid:p.params.app.id});var m={},f={},y=P.getCookie("apn_prebid_debug")||null;if(y)try{m=JSON.parse(y)}catch(e){i.logError("AppNexus Debug Auction Cookie Error:\n\n"+e)}else{var v=d()(e,N);v&&v.debug&&(m=v.debug)}m&&m.enabled&&Object.keys(m).filter((function(e){return c()(DEBUG_PARAMS,e)})).forEach((function(e){f[e]=m[e]}));var b=d()(e,M),h=b?parseInt(b.params.member,10):0,_=e[0].schain,I={tags:g(t),user:a,sdk:{source:"pbjs",version:"6.13.0"},schain:_};if(h>0&&(I.member_id=h),o&&(I.device=s),p&&(I.app=u),l.b.getConfig("adpod.brandCategoryExclusion")&&(I.brand_category_uniqueness=!0),f.enabled&&(I.debug=f,i.logInfo("AppNexus Debug Auction Settings:\n\n"+JSON.stringify(f,null,4))),r&&r.gdprConsent&&(I.gdpr_consent={consent_string:r.gdprConsent.consentString,consent_required:r.gdprConsent.gdprApplies}),r&&r.uspConsent&&(I.us_privacy=r.uspConsent),r&&r.refererInfo){var A={rd_ref:encodeURIComponent(r.refererInfo.referer),rd_top:r.refererInfo.reachedTop,rd_ifs:r.refererInfo.numIframes,rd_stk:r.refererInfo.stack.map((function(e){return encodeURIComponent(e)})).join(",")};I.referrer_detection=A}d()(e,V)&&e.filter(V).forEach((function(e){var r=B(t,e),n=I.tags.filter((function(r){return r.uuid!==e.bidId}));I.tags=[].concat(g(n),g(r))}));var k=[],x=i.deepAccess(e[0],"userId.criteoId");x&&k.push({source:"criteo.com",id:x});var T=i.deepAccess(e[0],"userId.tdid");return T&&k.push({source:"adserver.org",id:T,rti_partner:"TDID"}),k.length&&(I.eids=k),t[0].publisher_id&&(I.publisher_id=t[0].publisher_id),X(I,r)}function K(e,r){return f(r.bidderRequest.bids.filter((function(r){return r.bidId===e})),1)[0]}function G(e){return Array.isArray(e)&&Array.isArray(e[0])?e[0]:e}function L(e){var r=e.sizes,t={};return t.width=G(r)[0],t.height=G(r)[1],t}function Q(e,r,t,n){i.isStr(r)&&Array.isArray(e)&&e.push({source:t,uids:[{id:r,atype:n}]})}function Y(e){var r=e.protocols;return r?[{key:"VPAID_1_0",value:1},{key:"VPAID_2_0",value:2},{key:"MRAID_1",value:3},{key:"ORMMA",value:4},{key:"MRAID_2",value:5},{key:"MRAID_3",value:6}].filter((function(e){return-1!==r.indexOf(e.key)})).map((function(e){return e.value})):[2]}function Z(e){return Array.isArray(e)&&e.length>0?e.map((function(e){return R.playback_method[e]})):[2]}function ee(e){var r=e.protocols;return r?[{key:"VAST_1_0",value:1},{key:"VAST_2_0",value:2},{key:"VAST_3_0",value:3},{key:"VAST_1_0_WRAPPER",value:4},{key:"VAST_2_0_WRAPPER",value:5},{key:"VAST_3_0_WRAPPER",value:6},{key:"VAST_4_0",value:7},{key:"VAST_4_0_WRAPPER",value:8}].filter((function(e){return-1!==r.indexOf(e.key)})).map((function(e){return e.value})):[2,3,5,6,7,8]}function re(e){var r=/<img\s[^>]*?src\s*=\s*['\"]([^'\"]*?)['\"][^>]*?>/,t=f(e.match(r),2),n=t[0],i=t[1];if(e=e.replace(r,""),n&&i){var a="<Impression><![CDATA[".concat(i,"]]></Impression>");e=e.replace("</Impression>","</Impression>".concat(a))}return e}function te(e){var r=null;if("function"==typeof e.getFloor){var t=e.getFloor({currency:"USD",mediaType:e.mediaTypes.video?"video":"banner",size:e.sizes.map((function(e){return{w:e[0],h:e[1]}}))});"object"!==I(t)||"USD"!==t.currency||isNaN(parseFloat(t.floor))||(r=parseFloat(t.floor))}return null!==r?r:e.params.floor}function ne(e,r){var t=ie(e,[{size:[300,250],s:100},{size:[728,90],s:95},{size:[320,50],s:90},{size:[160,600],s:88},{size:[300,600],s:85},{size:[300,50],s:80},{size:[970,250],s:75},{size:[970,90],s:60}]);switch(r){case"w":return t[0][0]||0;case"h":return t[0][1]||0;case"size":default:return t}}function ie(e,r){var t=e.filter((function(e){return-1===r.map((function(e){return"".concat(e.size[0],"x").concat(e.size[1])})).indexOf("".concat(e[0],"x").concat(e[1]))})),n=e.reduce((function(e,t){return 0===e.length?(e.push(t),e):(e.push(t),(e=(e=r.filter((function(r){return-1!==e.map((function(e){return"".concat(e[0],"x").concat(e[1])})).indexOf("".concat(r.size[0],"x").concat(r.size[1]))}))).sort((function(e,r){return r.s-e.s}))).map((function(e){return e.size})))}),[]);return ae([].concat(g(n),g(t)))}function ae(e){return e.filter((function(r,t){return e.map((function(e){return"".concat(e[0],"x").concat(e[1])})).indexOf("".concat(r[0],"x").concat(r[1]))===t}))}function se(e,r,t,n){for(var i=[];0!==e.length;)e.length>=5?i.push(e.splice(0,5)):i.push(e.splice(0,e.length));return i.map((function(e){return r.imp=e,{method:"POST",url:n,data:JSON.stringify(r),bidderRequest:t}}))}Object(a.registerBidder)(z),window.tmzr.installedModules.push("districtmDMXAppnexusMixAdapter")}},[441]);
tmzrChunk([304],{443:function(e,r,t){e.exports=t(444)},444:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),t.d(r,"spec",(function(){return h})),r.getFloor=g,r.cleanSizes=v,r.shuffle=O,r.removeDuplicate=A,r.upto5=I,r.matchRequest=j,r.checkDeepArray=S,r.defaultSize=x,r.bindUserId=w,r.getApi=T,r.getPlaybackmethod=function(e){if(Array.isArray(e)&&e.length>0)return e.map((function(e){return b.playback_method[e]}));return[2]},r.getProtocols=z,r.cleanVast=_;var n=t(0),i=t(1),o=t(3),s=t(2);function a(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var n,i,o=[],s=!0,a=!1;try{for(t=t.call(e);!(s=(n=t.next()).done)&&(o.push(n.value),!r||o.length!==r);s=!0);}catch(e){a=!0,i=e}finally{try{s||null==t.return||t.return()}finally{if(a)throw i}}return o}(e,r)||u(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||u(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,r){if(e){if("string"==typeof e)return d(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?d(e,r):void 0}}function d(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function m(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?l(Object(t),!0).forEach((function(r){f(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):l(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function f(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var y="https://dmx.districtm.io/b/v1",b={playback_method:{auto_play_sound_on:1,auto_play_sound_off:2,click_to_play:3,mouse_over:4,viewport_sound_on:5,viewport_sound_off:6}},h={code:"districtmDMX",gvlid:144,aliases:["dmx"],supportedFormat:[s.b,s.d],supportedMediaTypes:[s.d,s.b],isBidRequestValid:function(e){return!!e.params.memberid},interpretResponse:function(e,r){return(e=e.body||{}).seatbid&&Object(n.isArray)(e.seatbid)?e.seatbid.reduce((function(e,t){var n=t.bid.reduce((function(e,t){if(e.price<t.price){var n=j(t.impid,r),i=x(n),o=i.width,s=i.height;return t.cpm=parseFloat(t.price).toFixed(2),t.bidId=t.impid,t.requestId=t.impid,t.width=t.w||o,t.height=t.h||s,t.ttl=300,t.mediaType=n.mediaTypes&&n.mediaTypes.video?"video":"banner","video"===t.mediaType&&(t.vastXml=_(t.adm,t.nurl),t.ttl=3600),t.dealid&&(t.dealId=t.dealid),t.uuid=t.bidId,t.ad=t.adm,t.netRevenue=!0,t.creativeId=t.crid,t.currency="USD",t.meta=t.meta||{},t.adomain&&t.adomain.length>0&&(t.meta.advertiserDomains=t.adomain),t}return e.cpm=e.price,e}),{price:0});return n.adm&&e.push(n),e}),[]).filter((function(e){return!!e.bidId})):[]},buildRequests:function(e,r){var t=o.b.getConfig("bidderTimeout"),i=null,s={id:Object(n.generateUUID)(),cur:["USD"],tmax:t-300,test:this.test()||0,site:{publisher:{id:String(e[0].params.memberid)||null}}};try{var a=o.b.getConfig("dmx");s.user=a.user||{};var c=a.site||{};s.site=m(m({},s.site),c)}catch(e){}var u=[];e[0]&&e[0].userId&&(w(u,Object(n.deepAccess)(e[0],"userId.idl_env"),"liveramp.com",1),w(u,Object(n.deepAccess)(e[0],"userId.id5id.uid"),"id5-sync.com",1),w(u,Object(n.deepAccess)(e[0],"userId.pubcid"),"pubcid.org",1),w(u,Object(n.deepAccess)(e[0],"userId.tdid"),"adserver.org",1),w(u,Object(n.deepAccess)(e[0],"userId.criteoId"),"criteo.com",1),w(u,Object(n.deepAccess)(e[0],"userId.britepoolid"),"britepool.com",1),w(u,Object(n.deepAccess)(e[0],"userId.lipb.lipbid"),"liveintent.com",1),w(u,Object(n.deepAccess)(e[0],"userId.intentiqid"),"intentiq.com",1),w(u,Object(n.deepAccess)(e[0],"userId.lotamePanoramaId"),"lotame.com",1),w(u,Object(n.deepAccess)(e[0],"userId.parrableId"),"parrable.com",1),w(u,Object(n.deepAccess)(e[0],"userId.netId"),"netid.de",1),s.user=s.user||{},s.user.ext=s.user.ext||{},s.user.ext.eids=u),s.test||delete s.test,r.gdprConsent&&(s.regs={},s.regs.ext={},s.regs.ext.gdpr=!0===r.gdprConsent.gdprApplies?1:0,!0===r.gdprConsent.gdprApplies&&(s.user={},s.user.ext={},s.user.ext.consent=r.gdprConsent.consentString)),s.regs=s.regs||{},s.regs.coppa=!0===o.b.getConfig("coppa")?1:0,r&&r.uspConsent&&(s.regs=s.regs||{},s.regs.ext=s.regs.ext||{},s.regs.ext.us_privacy=r.uspConsent);try{i=e[0].schain,s.source={},s.source.ext={},s.source.ext.schain=i||{}}catch(e){}var d=e.map((function(e){var r={};return r.id=e.bidId,r.tagid=String(e.params.dmxid||e.adUnitCode),r.secure=1,r.bidfloor=g(e),e.mediaTypes&&e.mediaTypes.video?r.video={topframe:1,skip:e.mediaTypes.video.skip||0,linearity:e.mediaTypes.video.linearity||1,minduration:e.mediaTypes.video.minduration||5,maxduration:e.mediaTypes.video.maxduration||60,playbackmethod:e.mediaTypes.video.playbackmethod||[2],api:T(e.mediaTypes.video),mimes:e.mediaTypes.video.mimes||["video/mp4"],protocols:z(e.mediaTypes.video),h:e.mediaTypes.video.playerSize[0][1],w:e.mediaTypes.video.playerSize[0][0]}:r.banner={topframe:1,w:v(e.sizes,"w"),h:v(e.sizes,"h"),format:v(e.sizes).map((function(e){return{w:e[0],h:e[1]}})).filter((function(e){return"number"==typeof e.w&&"number"==typeof e.h}))},r}));return d.length<=5?(s.imp=d,{method:"POST",url:y,data:JSON.stringify(s),bidderRequest:r}):I(d,s,r,y)},test:function(){return-1!==window.location.href.indexOf("dmTest=true")?1:0},getUserSyncs:function(e,r,t,n){var i=[],o="https://cdn.districtm.io/ids/index.html";if(t&&t.gdprApplies&&"string"==typeof t.consentString&&i.push(["gdpr",t.consentString]),n&&i.push(["ccpa",n]),i.length>0&&(o+="?"+i.map((function(e){return e.join("=")})).join("&")),e.iframeEnabled)return[{type:"iframe",url:o}]}};function g(e){var r=null;if("function"==typeof e.getFloor){var t=e.getFloor({currency:"USD",mediaType:e.mediaTypes.video?"video":"banner",size:e.sizes.map((function(e){return{w:e[0],h:e[1]}}))});"object"!==p(t)||"USD"!==t.currency||isNaN(parseFloat(t.floor))||(r=parseFloat(t.floor))}return null!==r?r:e.params.floor}function v(e,r){var t=O(e,[{size:[300,250],s:100},{size:[728,90],s:95},{size:[320,50],s:90},{size:[160,600],s:88},{size:[300,600],s:85},{size:[300,50],s:80},{size:[970,250],s:75},{size:[970,90],s:60}]);switch(r){case"w":return t[0][0]||0;case"h":return t[0][1]||0;case"size":default:return t}}function O(e,r){var t=e.filter((function(e){return-1===r.map((function(e){return"".concat(e.size[0],"x").concat(e.size[1])})).indexOf("".concat(e[0],"x").concat(e[1]))})),n=e.reduce((function(e,t){return 0===e.length?(e.push(t),e):(e.push(t),(e=(e=r.filter((function(r){return-1!==e.map((function(e){return"".concat(e[0],"x").concat(e[1])})).indexOf("".concat(r.size[0],"x").concat(r.size[1]))}))).sort((function(e,r){return r.s-e.s}))).map((function(e){return e.size})))}),[]);return A([].concat(c(n),c(t)))}function A(e){return e.filter((function(r,t){return e.map((function(e){return"".concat(e[0],"x").concat(e[1])})).indexOf("".concat(r[0],"x").concat(r[1]))===t}))}function I(e,r,t,n){for(var i=[];0!==e.length;)e.length>=5?i.push(e.splice(0,5)):i.push(e.splice(0,e.length));return i.map((function(e){return r.imp=e,{method:"POST",url:n,data:JSON.stringify(r),bidderRequest:t}}))}function j(e,r){return a(r.bidderRequest.bids.filter((function(r){return r.bidId===e})),1)[0]}function S(e){return Array.isArray(e)&&Array.isArray(e[0])?e[0]:e}function x(e){var r=e.sizes,t={};return t.width=S(r)[0],t.height=S(r)[1],t}function w(e,r,t,i){Object(n.isStr)(r)&&Array.isArray(e)&&e.push({source:t,uids:[{id:r,atype:i}]})}function T(e){var r=e.api;return r&&Array.isArray(r)&&r.length>0?r:[2]}function z(e){var r=e.protocols;return r&&Array.isArray(r)&&r.length>0?r:[2,3,5,6,7,8]}function _(e,r){try{var t=/<img\s[^>]*?src\s*=\s*['\"]([^'\"]*?)['\"][^>]*?>/,n=a(e.match(t),2),i=n[0],o=n[1];if(e=e.replace(t,""),i&&o){var s="<Impression><![CDATA[".concat(o,"]]></Impression>");e=e.replace("</Impression>","</Impression>".concat(s))}return e}catch(t){if(!r)return e;var c="<Impression><![CDATA[".concat(r,"]]></Impression>");return e=e.replace("</Impression>","</Impression>".concat(c))}}Object(i.registerBidder)(h),window.tmzr.installedModules.push("districtmDMXBidAdapter")}},[443]);
tmzrChunk([298],{455:function(e,t,r){e.exports=r(456)},456:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r.d(t,"emxAdapter",(function(){return f})),r.d(t,"spec",(function(){return v}));var i=r(0),n=r(1),a=r(2),d=r(13),o=r(12),s=r.n(o),u=r(11),c=r.n(u);function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e}).apply(this,arguments)}var l="emx_digital",m="https://js.brealtime.com/outstream/1.30.0/bundle.js",g="USD",b=[{key:"idl_env",source:"liveramp.com",rtiPartner:"idl",queryParam:"idl"},{key:"uid2.id",source:"uidapi.com",rtiPartner:"UID2",queryParam:"uid2"}],f={validateSizes:function(e){return Object(i.isArray)(e)&&void 0!==e[0]?e.every((function(e){return Object(i.isArray)(e)&&2===e.length})):(Object(i.logWarn)("emx_digital: Sizes should be an array"),!1)},checkVideoContext:function(e){return e&&e.mediaTypes&&e.mediaTypes.video&&e.mediaTypes.video.context&&("instream"===e.mediaTypes.video.context||"outstream"===e.mediaTypes.video.context)},buildBanner:function(e){var t=[];return t=e.mediaTypes&&e.mediaTypes.banner&&e.mediaTypes.banner.sizes?e.mediaTypes.banner.sizes:e.sizes,f.validateSizes(t)||(Object(i.logWarn)("emx_digital: could not detect mediaType banner sizes. Assigning to bid sizes instead"),t=e.sizes),{format:t.map((function(e){return{w:e[0],h:e[1]}})),w:t[0][0],h:t[0][1]}},formatVideoResponse:function(e,t,r){(e.vastXml=t.adm,r.bidderRequest&&r.bidderRequest.bids&&r.bidderRequest.bids.length>0)&&(c()(r.bidderRequest.bids,(function(t){return e.requestId&&t.bidId&&e.requestId===t.bidId&&t.mediaTypes&&t.mediaTypes.video&&"outstream"===t.mediaTypes.video.context}))&&(e.renderer=f.createRenderer(e,{id:t.id,url:m})));return e},isMobile:function(){return/(ios|ipod|ipad|iphone|android)/i.test(navigator.userAgent)},isConnectedTV:function(){return/(smart[-]?tv|hbbtv|appletv|googletv|hdmi|netcast\.tv|viera|nettv|roku|\bdtv\b|sonydtv|inettvbrowser|\btv\b)/i.test(navigator.userAgent)},getDevice:function(){return{ua:navigator.userAgent,js:1,dnt:"yes"===navigator.doNotTrack||"1"===navigator.doNotTrack||"1"===navigator.msDoNotTrack?1:0,h:screen.height,w:screen.width,devicetype:f.isMobile()?1:f.isConnectedTV()?3:2,language:navigator.language||navigator.browserLanguage||navigator.userLanguage||navigator.systemLanguage}},cleanProtocols:function(e){return e.protocols&&s()(e.protocols,7)&&(Object(i.logWarn)("emx_digital: VAST 4.0 is currently not supported. This protocol has been filtered out of the request."),e.protocols=e.protocols.filter((function(e){return 7!==e}))),e},outstreamRender:function(e){e.renderer.push((function(){var t=e&&e.params&&e.params[0]&&e.params[0].video?e.params[0].video:{};window.emxVideoQueue=window.emxVideoQueue||[],window.queueEmxVideo({id:e.adUnitCode,adsResponses:e.vastXml,options:t}),window.emxVideoReady&&window.videojs&&window.emxVideoReady()}))},createRenderer:function(e,t){var r=d.a.install({id:t.id,url:m,loaded:!1});try{r.setRender(f.outstreamRender)}catch(e){Object(i.logWarn)("Prebid Error calling setRender on renderer",e)}return r},buildVideo:function(e){var t=p(e.mediaTypes.video,e.params.video);return Object(i.isArray)(e.mediaTypes.video.playerSize[0])?(t.w=e.mediaTypes.video.playerSize[0][0],t.h=e.mediaTypes.video.playerSize[0][1]):(t.w=e.mediaTypes.video.playerSize[0],t.h=e.mediaTypes.video.playerSize[1]),f.cleanProtocols(t)},parseResponse:function(e){try{return decodeURIComponent(e.replace(/%(?![0-9][0-9a-fA-F]+)/g,"%25"))}catch(e){Object(i.logError)("emx_digitalBidAdapter","error",e)}},getReferrer:function(){try{return window.top.document.referrer}catch(e){return document.referrer}},getSite:function(e){return{domain:Object(i.parseUrl)(e.referer).hostname,page:e.referer,ref:f.getReferrer()}},getGdpr:function(e,t){return e.gdprConsent&&(t.regs={ext:{gdpr:!0===e.gdprConsent.gdprApplies?1:0}}),e.gdprConsent&&e.gdprConsent.gdprApplies&&(t.user={ext:{consent:e.gdprConsent.consentString}}),t},getSupplyChain:function(e,t){return e.bids[0]&&e.bids[0].schain&&(t.source={ext:{schain:e.bids[0].schain}}),t},getEids:function(e){return b.map(f.getUserId(e)).filter((function(e){return e}))},getUserId:function(e){return function(t){var r=t.key,n=t.source,a=t.rtiPartner,d=Object(i.deepAccess)(e,"userId.".concat(r));return d?f.formatEid(d,n,a):null}},formatEid:function(e,t,r){return{source:t,uids:[{id:e,ext:{rtiPartner:r}}]}}},v={code:l,gvlid:183,supportedMediaTypes:[a.b,a.d],isBidRequestValid:function(e){if(!e||!e.params)return Object(i.logWarn)("emx_digital: Missing bid or bid params."),!1;if(e.bidder!==l)return Object(i.logWarn)('emx_digital: Must use "emx_digital" as bidder code.'),!1;if(!e.params.tagid||!Object(i.isStr)(e.params.tagid))return Object(i.logWarn)("emx_digital: Missing tagid param or tagid present and not type String."),!1;var t;if(e.mediaTypes&&e.mediaTypes.banner){if(t=e.mediaTypes.banner.sizes?e.mediaTypes.banner.sizes:e.sizes,!f.validateSizes(t))return Object(i.logWarn)("emx_digital: Missing sizes in bid"),!1}else if(e.mediaTypes&&e.mediaTypes.video){if(!f.checkVideoContext(e))return Object(i.logWarn)("emx_digital: Missing video context: instream or outstream"),!1;if(!e.mediaTypes.video.playerSize)return Object(i.logWarn)("emx_digital: Missing video playerSize"),!1}return!0},buildRequests:function(e,t){var r=[],n="https://hb.emxdgt.com?t="+(t.timeout||"")+"&ts="+Date.now()+"&src=pbjs",a=location.protocol.indexOf("https")>-1?1:0,d=f.getDevice(),o=f.getSite(t.refererInfo);Object(i._each)(e,(function(e){var t=Object(i.getBidIdParameter)("tagid",e.params),n=parseFloat(function(e){if(!Object(i.isFn)(e.getFloor))return parseFloat(Object(i.getBidIdParameter)("bidfloor",e.params));var t=e.getFloor({currency:g,mediaType:"*",size:"*"});if(Object(i.isPlainObject)(t)&&!isNaN(t.floor)&&"USD"===t.currency)return t.floor;return null}(e))||0,d=!!e.mediaTypes.video,o={id:e.bidId,tid:e.transactionId,tagid:t,secure:a},s=Object(i.deepAccess)(e,"ortb2Imp.ext.data.adserver.adslot");s||(s=Object(i.deepAccess)(e,"ortb2Imp.ext.data.pbadslot")),s&&(o.ext={gpid:s.toString()});var u=p(o,d?{video:f.buildVideo(e)}:{banner:f.buildBanner(e)},n>0?{bidfloor:n,bidfloorcur:g}:{});r.push(u)}));var s={id:t.auctionId,imp:r,device:d,site:o,cur:g,version:"1.5.1"};if(s=f.getGdpr(t,p({},s)),s=f.getSupplyChain(t,p({},s)),t&&t.uspConsent&&(s.us_privacy=t.uspConsent),t.userId){var u=f.getEids(t);u.length>0&&(s.user&&s.user.ext?s.user.ext.eids=u:s.user={ext:{eids:u}})}return{method:"POST",url:n,data:JSON.stringify(s),options:{withCredentials:!0},bidderRequest:t}},interpretResponse:function(e,t){var r=[],i=e.body||{};return i.seatbid&&i.seatbid.length>0&&i.seatbid[0].bid&&i.seatbid.forEach((function(e){e=e.bid[0];var i=!1,n=f.parseResponse(e.adm)||"",d={requestId:e.id,cpm:e.price,width:e.w,height:e.h,creativeId:e.crid||e.id,dealId:e.dealid||null,currency:"USD",netRevenue:!0,ttl:e.ttl,ad:n};e.adm&&e.adm.indexOf("<?xml version=")>-1&&(i=!0,d=f.formatVideoResponse(d,p({},e),t)),d.mediaType=i?a.d:a.b,e.adomain&&e.adomain.length&&(d.meta={advertiserDomains:e.adomain}),r.push(d)})),r},getUserSyncs:function(e,t,r,i){var n=[];if(e.iframeEnabled){var a="https://biddr.brealtime.com/check.html";r&&"string"==typeof r.consentString&&("boolean"==typeof r.gdprApplies?a+="?gdpr=".concat(Number(r.gdprApplies),"&gdpr_consent=").concat(r.consentString):a+="?gdpr_consent=".concat(r.consentString)),n.push({type:"iframe",url:a})}return n}};Object(n.registerBidder)(v),window.tmzr.installedModules.push("emx_digitalBidAdapter")}},[455]);
tmzrChunk([295],{463:function(n,t,e){n.exports=e(464)},464:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e.d(t,"storage",(function(){return u})),e.d(t,"spec",(function(){return g}));var r=e(0),o=e(14),i=e(1),a=e(7);function c(n){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var u=Object(a.b)(),d=Math.random(),s="i.e-planning.net",f=["ci","sv","t","ml","sn"],p="pbsr_",m="pbvi_",l=window.navigator.userAgent.match(/(mobile)|(ip(hone|ad))|(android)|(blackberry)|(nokia)|(phone)|(opera\smini)/i),h=["1x1","300x50","320x50","300x250"],v=["1x1","970x90","970x250","160x600","300x600","728x90","300x250"],g={code:"eplanning",isBidRequestValid:function(n){return Boolean(n.params.ci)||Boolean(n.params.t)},buildRequests:function(n,t){var e,r,i,a,l,h=function(n){if(function(n){for(var t=0;t<n.length;t++)if(n[t].params.t)return!0;return!1}(n))return function(n){var t;return n.forEach((function(n){return t=t||n.params.isv})),{t:!0,isv:t||s}}(n.filter((function(n){return n.params.t})));var t={};return n.forEach((function(n){f.forEach((function(e){n.params[e]&&!t[e]&&(t[e]=n.params[e])}))})),t}(n),v=function(){try{return window.top.document.charset||window.top.document.characterSet}catch(n){return document.charset||document.characterSet}}(),g=function(n,t){var e=(o=n,i={},o.forEach((function(n){var t=w(n,!0);i[t]=i[t]?i[t]:[],i[t].push(n)})),i),r={str:"",vs:"",map:{}};var o,i;return r.str=Object.keys(e).map((function(n){return e[n].map((function(n,e){var o;return r.vs+=function(n){var t,e="";u.hasLocalStorage()?e+=(t=function(n){var t=u.getDataFromLocalStorage(p+n.adUnitCode)||0,e=u.getDataFromLocalStorage(m+n.adUnitCode)||0,r=t>0?e/t:0;return{render:t,ratio:window.parseInt(10*r,10)}}(n)).render>=4?t.ratio.toString(16):"F":e+="F";return e}(n),o=t?function(n){return n.replace(/_|\.|-|\//g,"").replace(/\)\(|\(|\)|:/g,"_").replace(/^_+|_+$/g,"")}(n.adUnitCode):n.params&&n.params.sn||w(n,!0)+"_"+e,r.map[o]=n.bidId,o+":"+w(n)})).join("+")})).join("+"),r}(n,h.ml),b=t.refererInfo.referer;if(h.t)e="https://"+h.isv+"/layers/t_pbjs_2.json",r={};else{e="https://"+(h.sv||"pbjs.e-planning.net")+"/pbjs/1/"+h.ci+"/1/"+function(n){var t=document.createElement("a");return t.href=n,t.hostname}(b)+"/ROS";var y=t.refererInfo.referer.reachedTop?window.top.document.referrer:t.refererInfo.referer;if(u.hasLocalStorage()&&(i=[],n.forEach((function(n){var t=document.getElementById(n.adUnitCode);t?E(t):i.push(n.adUnitCode)})),i.length&&(a=i,l=new MutationObserver((function(n,t){n&&Array.isArray(n)&&n.forEach((function(n){n&&n.addedNodes&&Array.isArray(n.addedNodes)&&n.addedNodes.forEach((function(n){var e=a.indexOf(n.id);e>=0&&(E(n),a.splice(e,1),a.length||t.disconnect())}))}))})),document.addEventListener("DOMContentLoaded",(function(n){var t={childList:!0,subtree:!0,characterData:!0};l.observe(document.body,t)})))),r={rnd:d,e:g.str,ur:b||"file",pbv:"6.13.0",ncb:"1",vs:g.vs},v&&(r.crs=v),y&&(r.fr=y),t&&t.gdprConsent&&void 0!==t.gdprConsent.gdprApplies&&(r.gdpr=t.gdprConsent.gdprApplies?"1":"0",void 0!==t.gdprConsent.consentString&&(r.gdprcs=t.gdprConsent.consentString)),t&&t.uspConsent&&(r.ccpa=t.uspConsent),Object(o.a)().getUserIds&&"function"==typeof Object(o.a)().getUserIds){var S=Object(o.a)().getUserIds();for(var j in S)r["e_"+j]="object"===c(S[j])?encodeURIComponent(JSON.stringify(S[j])):encodeURIComponent(S[j])}}return{method:"GET",url:e,data:r,adUnitToBidId:g.map}},interpretResponse:function(n,t){var e=n.body,o=[];return e&&!Object(r.isEmpty)(e.sp)&&e.sp.forEach((function(n){Object(r.isEmpty)(n.a)||n.a.forEach((function(e){var r={requestId:t.adUnitToBidId[n.k],cpm:e.pr,width:e.w,height:e.h,ad:e.adm,ttl:120,creativeId:e.crid,netRevenue:true,currency:"USD"};e.adom&&(r.meta={advertiserDomains:e.adom}),o.push(r)}))})),o},getUserSyncs:function(n,t){var e=[],o=!Object(r.isEmpty)(t)&&t[0].body;o&&!Object(r.isEmpty)(o.cs)&&o.cs.forEach((function(t){"string"==typeof t&&n.pixelEnabled?e.push({type:"image",url:t}):"object"===c(t)&&t.ifr&&n.iframeEnabled&&e.push({type:"iframe",url:t.u})}));return e}};function b(){return Object(r.getWindowSelf)().innerWidth<=1024||window.orientation||l}function y(n,t){var e=b()?h:v,r=e.indexOf(n),o=e.indexOf(t);return r>-1?o>-1&&r<o?1:-1:o>-1?1:0}function w(n,t){var e,o=n.sizes&&n.sizes.length?(e=n.sizes,Object(r.parseSizesInput)(e).sort(y)):[];return o.length?t?o[0]:o.join(","):"1x1"}function E(n){var t;(t={name:n.id,div:n}).div&&(S(p+t.name),function(){var n,t=5,e=1e3,r=.5;function o(n,t,e){return t>n||e<0}function i(n){return n<0}function a(n,t){return t<n}function c(n,t,e){var r=0;return o(n,t,e)||(r=i(t)?e/(e-t):a(n,e)?1:(n-t)/(e-t)),r}function u(){try{return window===window.top||window.frameElement}catch(n){}}function d(t){try{n=t&&window.document.body.contains(t)?window:window.top.document.body.contains(t)?top:void 0}catch(n){}return n}function s(t){return n}function f(n){return c(s().innerHeight,n.top,n.bottom)}function p(n){return c(s().innerWidth,n.left,n.right)}function m(n){var t=n.getBoundingClientRect();return f(t)*p(t)>r}function l(n){return n.offsetHeight>0&&n.offsetWidth>0}function h(n){var t=n.style,e=n.parentNode;return!(t&&0===parseFloat(t.opacity))&&(!e||h(e))}function v(n){return"hidden"!==s().getComputedStyle(n).visibility}function g(){try{return s().top.document.hasFocus()}catch(n){}}function b(n){return null!=n}function y(){return b(s())}function w(){return b(s().frameElement)}function E(n,r,o){var i=S(r)?n+1:0;i===t?o():setTimeout(E.bind(this,i,r,o),e/t)}function S(n){return d(n),u()&&y()&&g()&&l(n)&&v(n)&&h(n)&&m(n)&&(!w()||S(s().frameElement))}return{isVisible:S,onView:E.bind(this,0)}}().onView(t.div,S.bind(void 0,m+t.name)))}function S(n){var t;try{t=(t=u.getDataFromLocalStorage(n))?window.parseInt(t,10)+1:1,u.setDataInLocalStorage(n,t)}catch(n){return!1}return!0}Object(i.registerBidder)(g),window.tmzr.installedModules.push("eplanningBidAdapter")}},[463]);
tmzrChunk([260],{540:function(e,t,r){e.exports=r(541)},541:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r.d(t,"ID5_STORAGE_NAME",(function(){return p})),r.d(t,"ID5_PRIVACY_STORAGE_NAME",(function(){return d})),r.d(t,"id5IdSubmodule",(function(){return m})),t.expDaysStr=O,t.nbCacheName=v,t.storeNbInCache=j,t.getNbFromCache=I,t.getFromLocalStorage=S,t.storeInLocalStorage=_;var o=r(0),n=r(4),a=r(8),c=r(21),i=r(7),s=r(9),p="id5id",d="".concat(p,"_privacy"),u="html5",g="User ID - ID5 submodule: ",b=["pbjs-id5id","id5id.1st","id5id"],l=Object(i.b)(131,"id5Id"),m={name:"id5Id",gvlid:131,decode:function(e,t){var r=0;if(e&&"string"==typeof e.universal_uid){var n={id5id:{uid:e.universal_uid,ext:{linkType:r=e.link_type||r}}};switch(Object(o.deepAccess)(e,"ab_testing.result")){case"control":Object(o.logInfo)(g+"A/B Testing - user is in the Control Group: ID5 ID is NOT exposed"),Object(o.deepSetValue)(n,"id5id.ext.abTestingControlGroup",!0);break;case"error":Object(o.logError)(g+"A/B Testing ERROR! controlGroupPct must be a number >= 0 and <= 1");break;case"normal":Object(o.logInfo)(g+"A/B Testing - user is NOT in the Control Group"),Object(o.deepSetValue)(n,"id5id.ext.abTestingControlGroup",!1)}return Object(o.logInfo)(g+"Decoded ID",n),n}},getId:function(e,t,r){if(f(e)){var a,i="https://id5-sync.com/g/v2/".concat(e.params.partner,".json"),p=t&&"boolean"==typeof t.gdprApplies&&t.gdprApplies?1:0,m=s.uspDataHandler.getConsentData(),v=Object(c.a)(),I=r&&r.signature?r.signature:(b.forEach((function(e){l.getCookie(e)&&(a=JSON.parse(l.getCookie(e))||a)})),a&&a.signature||""),S={partner:e.params.partner,gdpr:p,nbPage:y(e.params.partner),o:"pbjs",rf:v.referer,top:v.reachedTop?1:0,u:v.stack[0]||window.location.href,v:"6.13.0"};!p||void 0===t.consentString||Object(o.isEmpty)(t.consentString)||Object(o.isEmptyStr)(t.consentString)||(S.gdpr_consent=t.consentString),void 0===m||Object(o.isEmpty)(m)||Object(o.isEmptyStr)(m)||(S.us_privacy=m),void 0===I||Object(o.isEmptyStr)(I)||(S.s=I),void 0===e.params.pd||Object(o.isEmptyStr)(e.params.pd)||(S.pd=e.params.pd),void 0===e.params.provider||Object(o.isEmptyStr)(e.params.provider)||(S.provider=e.params.provider);var h=function(e){return Object(o.deepAccess)(e,"params.abTesting",{enabled:!1})}(e);!0===h.enabled&&(S.ab_testing={enabled:!0,control_group_pct:h.controlGroupPct});return{callback:function(t){var r={success:function(r){var n;if(r)try{n=JSON.parse(r),Object(o.logInfo)(g+"response received from the server",n),j(e.params.partner,0),n.privacy&&_(d,JSON.stringify(n.privacy),30),e.storage.type===u&&function(e){Object(o.logInfo)(g+"removing legacy cookies"),b.forEach((function(t){l.setCookie("".concat(t)," ",O(-1)),l.setCookie("".concat(t,"_nb")," ",O(-1)),l.setCookie("".concat(t,"_").concat(e,"_nb")," ",O(-1)),l.setCookie("".concat(t,"_last")," ",O(-1))}))}(e.params.partner)}catch(e){Object(o.logError)(g+e)}t(n)},error:function(e){Object(o.logError)(g+"getId fetch encountered an error",e),t()}};Object(o.logInfo)(g+"requesting an ID from the server",S),Object(n.a)(i,r,JSON.stringify(S),{method:"POST",withCredentials:!0})}}}},extendId:function(e,t,r){return f(e),y(e&&e.params&&e.params.partner||0),Object(o.logInfo)(g+"using cached ID",r),r}};function f(e){return e&&e.params&&e.params.partner&&"number"==typeof e.params.partner?e.storage&&e.storage.type&&e.storage.name?(e.storage.type!==u&&Object(o.logWarn)(g+"storage type recommended to be '".concat(u,"'. In a future release this may become a strict requirement")),e.storage.name!==p&&Object(o.logWarn)(g+"storage name recommended to be '".concat(p,"'. In a future release this may become a strict requirement")),!0):(Object(o.logError)(g+"storage required to be set"),!1):(Object(o.logError)(g+"partner required to be defined as a number"),!1)}function O(e){return new Date(Date.now()+864e5*e).toUTCString()}function v(e){return"".concat(p,"_").concat(e,"_nb")}function j(e,t){_(v(e),t,30)}function I(e){var t=S(v(e));return t?parseInt(t):0}function y(e){var t=I(e)+1;return j(e,t),t}function S(e){var t=l.getDataFromLocalStorage("".concat(e,"_exp"));return""===t||t&&new Date(t).getTime()-Date.now()>0?l.getDataFromLocalStorage(e):(l.removeDataFromLocalStorage(e),null)}function _(e,t,r){l.setDataInLocalStorage("".concat(e,"_exp"),O(r)),l.setDataInLocalStorage("".concat(e),t)}Object(a.e)("userId",m),window.tmzr.installedModules.push("id5IdSystem")}},[540]);
tmzrChunk([55],{15:function(e,t,r){"use strict";t.b=function(e){var t=[];for(var r in e)if(e.hasOwnProperty(r))if("pubProvidedId"===r)t=t.concat(e.pubProvidedId);else{var n=i(e[r],r);n&&t.push(n)}return t},t.a=function(e){var t=[];return e.filter((function(e){return Object(n.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length})).forEach((function(e){Object.keys(e.idObj).forEach((function(r){Object(n.deepAccess)(e,"config.bidders")&&Array.isArray(e.config.bidders)&&Object(n.deepAccess)(a,r+".source")&&t.push({source:a[r].source,bidders:e.config.bidders})}))})),t};var n=r(0),a={trustpid:{source:"trustpid.com",atype:1,getValue:function(e){return e}},intentIqId:{source:"intentiq.com",atype:1},naveggId:{source:"navegg.com",atype:1},justId:{source:"justtag.com",atype:1},pubcid:{source:"pubcid.org",atype:1},tdid:{source:"adserver.org",atype:1,getUidExt:function(){return{rtiPartner:"TDID"}}},id5id:{getValue:function(e){return e.uid},source:"id5-sync.com",atype:1,getUidExt:function(e){if(e.ext)return e.ext}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var t=Object(n.pick)(e,["ibaOptout","ccpaOptout"]);if(Object.keys(t).length)return t}},idl_env:{source:"liveramp.com",atype:3},lipb:{getValue:function(e){return e.lipbid},source:"liveintent.com",atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},britepoolid:{source:"britepool.com",atype:3},dmdId:{source:"hcn.health",atype:3},lotamePanoramaId:{source:"crwdcntrl.net",atype:1},criteoId:{source:"criteo.com",atype:1},merkleId:{source:"merkleinc.com",atype:3,getValue:function(e){return e.id},getUidExt:function(e){return e&&e.keyID?{keyID:e.keyID}:void 0}},netId:{source:"netid.de",atype:1},IDP:{source:"zeotap.com",atype:1},hadronId:{source:"audigent.com",atype:1},haloId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},nextrollId:{source:"nextroll.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(e){return e.snowflake},source:"novatiq.com",atype:1},uid2:{source:"uidapi.com",atype:3,getValue:function(e){return e.id}},dapId:{source:"akamai.com",atype:1},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3},adtelligentId:{source:"adtelligent.com",atype:3},amxId:{source:"amxrtb.com",atype:1},publinkId:{source:"epsilon.com",atype:3},kpuid:{source:"kpuid.com",atype:3},imuid:{source:"intimatemerger.com",atype:1},connectId:{source:"yahoo.com",atype:3},qid:{source:"adquery.io",atype:1}};function i(e,t){var r=a[t];if(r&&e){var i={};i.source=r.source;var o=Object(n.isFn)(r.getValue)?r.getValue(e):e;if(Object(n.isStr)(o)){var c={id:o,atype:r.atype};if(Object(n.isFn)(r.getUidExt)){var s=r.getUidExt(e);s&&(c.ext=s)}if(i.uids=[c],Object(n.isFn)(r.getEidExt)){var d=r.getEidExt(e);d&&(i.ext=d)}return i}}return null}},551:function(e,t,r){e.exports=r(552)},552:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r.d(t,"spec",(function(){return g}));var n=r(0),a=r(1),i=r(3),o=r(4),c=r(15),s=this;function d(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var p="https://sonic.impactify.media",l="https://logger.impactify.media",m=i.b.getConfig,g={code:"impactify",gvlid:606,supportedMediaTypes:["video","banner"],aliases:["imp"],isBidRequestValid:function(e){return!!(e.params.appId&&"string"==typeof e.params.appId&&e.params.format&&"string"==typeof e.params.format&&e.params.style&&"string"==typeof e.params.style)&&(("screen"==e.params.format||"display"==e.params.format)&&("inline"==e.params.style||"impact"==e.params.style||"static"==e.params.style))},buildRequests:function(e,t){var r=function(e,t){var r={id:t.auctionId,validBidRequests:e,cur:["USD"],imp:[],source:{tid:t.auctionId}};null!=window.localStorage.getItem("_im_db_bidder")&&(r.test=Number(window.localStorage.getItem("_im_db_bidder")));var a=Object(n.deepAccess)(e,"0.schain");a&&(r.source.ext={schain:a});var i=Object(n.deepAccess)(e,"0.userId"),o=Object(c.b)(i);o.length&&Object(n.deepSetValue)(r,"user.ext.eids",o),r.device||(r.device={}),r.site||(r.site={}),r.device={w:window.innerWidth,h:window.innerHeight,devicetype:/ipad|android 3.0|xoom|sch-i800|playbook|tablet|kindle/i.test(navigator.userAgent.toLowerCase())?5:/iphone|ipod|android|blackberry|opera|mini|windows\sce|palm|smartphone|iemobile/i.test(navigator.userAgent.toLowerCase())?4:2,ua:navigator.userAgent,js:1,dnt:"yes"==navigator.doNotTrack||"1"==navigator.doNotTrack||"1"==navigator.msDoNotTrack?1:0,language:(navigator.language||navigator.userLanguage||"").split("-")[0]||"en"},r.site={page:t.refererInfo.referer};var d=0;return t.gdprConsent&&("boolean"==typeof t.gdprConsent.gdprApplies&&(d=t.gdprConsent.gdprApplies?1:0),Object(n.deepSetValue)(r,"user.ext.consent",t.gdprConsent.consentString)),Object(n.deepSetValue)(r,"regs.ext.gdpr",d),t.uspConsent&&(Object(n.deepSetValue)(r,"regs.ext.us_privacy",t.uspConsent),s.syncStore.uspConsent=t.uspConsent),1==m("coppa")&&Object(n.deepSetValue)(r,"regs.coppa",1),t.uspConsent&&Object(n.deepSetValue)(r,"regs.ext.us_privacy",t.uspConsent),Object(n.deepSetValue)(r,"user.buyeruid",Object(n.generateUUID)()),e.forEach((function(e){var t={id:e.bidId,bidfloor:e.params.bidfloor?e.params.bidfloor:0,ext:{impactify:{appId:e.params.appId,format:e.params.format,style:e.params.style}},video:{playerSize:[640,360],context:"outstream",mimes:["video/mp4"]}};e.params.container&&(t.ext.impactify.container=e.params.container),r.imp.push(t)})),r}(e,t);return{method:"POST",url:p+"/bidder",data:JSON.stringify(r)}},interpretResponse:function(e,t){var r=e.body,n=[];return r?r.seatbid&&r.seatbid.length?(r.seatbid.forEach((function(e){e.bid.length&&(n=[].concat(d(n),d(e.bid.filter((function(e){return e.price>0})).map((function(e){return{id:e.id,requestId:e.impid,cpm:e.price,currency:r.cur,netRevenue:!0,ad:e.adm,width:e.w||0,height:e.h||0,ttl:300,creativeId:e.crid||0,hash:e.hash,expiry:e.expiry,meta:{advertiserDomains:e.adomain&&e.adomain.length?e.adomain:[]}}})))))})),n):[]:n},getUserSyncs:function(e,t,r,n){if(!t||0===t.length)return[];if(!e.iframeEnabled)return[];var a="";return r&&"string"==typeof r.consentString&&("boolean"==typeof r.gdprApplies?a+="?gdpr=".concat(Number(r.gdprApplies),"&gdpr_consent=").concat(r.consentString):a+="?gdpr_consent=".concat(r.consentString)),n&&(a+="".concat(a?"&":"?","us_privacy=").concat(encodeURIComponent(n))),document.location.search.match(/pbs_debug=true/)&&(a+="&pbs_debug=true"),[{type:"iframe",url:p+"/static/cookie_sync.html"+a}]},onBidWon:function(e){return Object(o.a)("".concat(l,"/log/bidder/won"),null,JSON.stringify(e),{method:"POST",contentType:"application/json"}),!0},onTimeout:function(e){return Object(o.a)("".concat(l,"/log/bidder/timeout"),null,JSON.stringify(e[0]),{method:"POST",contentType:"application/json"}),!0}};Object(a.registerBidder)(g),window.tmzr.installedModules.push("impactifyBidAdapter")}},[551]);
tmzrChunk([54],{15:function(e,r,t){"use strict";r.b=function(e){var r=[];for(var t in e)if(e.hasOwnProperty(t))if("pubProvidedId"===t)r=r.concat(e.pubProvidedId);else{var i=n(e[t],t);i&&r.push(i)}return r},r.a=function(e){var r=[];return e.filter((function(e){return Object(i.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length})).forEach((function(e){Object.keys(e.idObj).forEach((function(t){Object(i.deepAccess)(e,"config.bidders")&&Array.isArray(e.config.bidders)&&Object(i.deepAccess)(a,t+".source")&&r.push({source:a[t].source,bidders:e.config.bidders})}))})),r};var i=t(0),a={trustpid:{source:"trustpid.com",atype:1,getValue:function(e){return e}},intentIqId:{source:"intentiq.com",atype:1},naveggId:{source:"navegg.com",atype:1},justId:{source:"justtag.com",atype:1},pubcid:{source:"pubcid.org",atype:1},tdid:{source:"adserver.org",atype:1,getUidExt:function(){return{rtiPartner:"TDID"}}},id5id:{getValue:function(e){return e.uid},source:"id5-sync.com",atype:1,getUidExt:function(e){if(e.ext)return e.ext}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var r=Object(i.pick)(e,["ibaOptout","ccpaOptout"]);if(Object.keys(r).length)return r}},idl_env:{source:"liveramp.com",atype:3},lipb:{getValue:function(e){return e.lipbid},source:"liveintent.com",atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},britepoolid:{source:"britepool.com",atype:3},dmdId:{source:"hcn.health",atype:3},lotamePanoramaId:{source:"crwdcntrl.net",atype:1},criteoId:{source:"criteo.com",atype:1},merkleId:{source:"merkleinc.com",atype:3,getValue:function(e){return e.id},getUidExt:function(e){return e&&e.keyID?{keyID:e.keyID}:void 0}},netId:{source:"netid.de",atype:1},IDP:{source:"zeotap.com",atype:1},hadronId:{source:"audigent.com",atype:1},haloId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},nextrollId:{source:"nextroll.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(e){return e.snowflake},source:"novatiq.com",atype:1},uid2:{source:"uidapi.com",atype:3,getValue:function(e){return e.id}},dapId:{source:"akamai.com",atype:1},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3},adtelligentId:{source:"adtelligent.com",atype:3},amxId:{source:"amxrtb.com",atype:1},publinkId:{source:"epsilon.com",atype:3},kpuid:{source:"kpuid.com",atype:3},imuid:{source:"intimatemerger.com",atype:1},connectId:{source:"yahoo.com",atype:3},qid:{source:"adquery.io",atype:1}};function n(e,r){var t=a[r];if(t&&e){var n={};n.source=t.source;var s=Object(i.isFn)(t.getValue)?t.getValue(e):e;if(Object(i.isStr)(s)){var c={id:s,atype:t.atype};if(Object(i.isFn)(t.getUidExt)){var d=t.getUidExt(e);d&&(c.ext=d)}if(n.uids=[c],Object(i.isFn)(t.getEidExt)){var o=t.getEidExt(e);o&&(n.ext=o)}return n}}return null}},553:function(e,r,t){e.exports=t(554)},554:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),t.d(r,"spec",(function(){return m})),r.ImproveDigitalAdServerJSClient=v;var i=t(0),a=t(1),n=t(3),s=t(2),c=t(13),d=t(15),o=t(12),u=t.n(o);function p(){return(p=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)}var l="https://acdn.adnxs.com/video/outstream/ANOutstreamVideo.js",b=["skip","skipmin","skipafter"],m={version:"7.6.0",code:"improvedigital",gvlid:253,aliases:["id"],supportedMediaTypes:[s.b,s.c,s.d],isBidRequestValid:function(e){return!!(e&&e.params&&(e.params.placementId||e.params.placementKey&&e.params.publisherId))},buildRequests:function(e,r){var t=e.map((function(e){return function(e){var r=Object(i.getBidIdParameter)("adUnitCode",e)||null,t=Object(i.getBidIdParameter)("placementId",e.params)||null,a=null,c=null;null===t&&(a=Object(i.getBidIdParameter)("publisherId",e.params)||null,c=Object(i.getBidIdParameter)("placementKey",e.params)||null);var d=Object(i.getBidIdParameter)("keyValues",e.params)||null,o=Object(i.getBidIdParameter)("size",e.params)||null,p=Object(i.getBidIdParameter)("bidId",e),l=Object(i.getBidIdParameter)("transactionId",e),m=n.b.getConfig("currency.adServerCurrency"),y={};f(e)&&(y.adTypes=[s.d]);(f(e)||g(e))&&(y.video=function(e){var r={};return Object.keys(Object(e.mediaTypes.video)).filter((function(e){return u()(b,e)})).forEach((function(t){r[t]=e.mediaTypes.video[t]})),Object.keys(Object(e.params.video)).filter((function(e){return u()(b,e)})).forEach((function(t){r[t]=e.params.video[t]})),r}(e));t?y.placementId=t:(a&&(y.publisherId=a),c&&(y.placementKey=c));d&&(y.keyValues=d);!0===n.b.getConfig("improvedigital.usePrebidSizes")&&!f(e)&&!g(e)&&e.sizes&&e.sizes.length>0?y.format=e.sizes:o&&o.w&&o.h&&(y.size={},y.size.h=o.h,y.size.w=o.w);p&&(y.id=p);r&&(y.adUnitId=r);l&&(y.transactionId=l);m&&(y.currency=m);var h=function(e){if(!Object(i.isFn)(e.getFloor))return null;var r=e.getFloor({currency:"USD",mediaType:"*",size:"*"});if(Object(i.isPlainObject)(r)&&!isNaN(r.floor)&&"USD"===r.currency)return r.floor;return null}(e),v=null;h||(h=Object(i.getBidIdParameter)("bidFloor",e.params),v=Object(i.getBidIdParameter)("bidFloorCur",e.params));h&&(y.bidFloor=h,y.bidFloorCur=v?v.toUpperCase():"USD");return y}(e)})),a=new v("hb"),c={singleRequestMode:!0===n.b.getConfig("improvedigital.singleRequest"),returnObjType:a.CONSTANTS.RETURN_OBJ_TYPE.URL_PARAMS_SPLIT,libVersion:this.version},o=Object(i.deepAccess)(r,"gdprConsent");if(o){o.consentString&&(c.gdpr=o.consentString);var p=Object(i.deepAccess)(o,"addtlConsent");if(p&&-1!==p.indexOf("~")){var l=p.substring(p.indexOf("~")+1);Object(i.deepSetValue)(c,"user.ext.consented_providers_settings.consented_providers",l.split(".").map((function(e){return parseInt(e,10)})))}}r&&r.uspConsent&&(c.usPrivacy=r.uspConsent),r&&r.refererInfo&&r.refererInfo.referer&&(c.referrer=r.refererInfo.referer);var m=n.b.getConfig("ortb2.site");if(m){var y=m.pagecat||m.cat;y&&Object(i.isArray)(y)&&(c.pagecat=y.filter((function(e){return e&&Object(i.isStr)(e)})));var h=Object(i.deepAccess)(m,"content.genre");h&&Object(i.isStr)(h)&&(c.genre=h)}if(c.schain=e[0].schain,c.coppa=!0===n.b.getConfig("coppa"),e[0].userId){var O=Object(d.b)(e[0].userId);O.length&&Object(i.deepSetValue)(c,"user.ext.eids",O)}var I=a.createRequest(t,c);return I.errors&&I.errors.length>0&&Object(i.logError)("ID WARNING 0x01"),I.requests.forEach((function(e){return e.bidderRequest=r})),I.requests},interpretResponse:function(e,r){var t=r.bidderRequest,a=[];return Object(i._each)(e.body.bid,(function(e){if(e.price&&null!==e.price&&!e.hasOwnProperty("errorCode")&&(e.adm||e.native)){var r=Object(i.getBidRequest)(e.id,[t]),n={};if(e.native)n.native=function(e){var r={};if(!e||!Object(i.isArray)(e.assets))return null;e.assets.forEach((function(e){if(e.title)r.title=e.title.text;else if(e.data)switch(e.data.type){case 1:r.sponsoredBy=e.data.value;break;case 2:r.body=e.data.value;break;case 3:r.rating=e.data.value;break;case 4:r.likes=e.data.value;break;case 5:r.downloads=e.data.value;break;case 6:r.price=e.data.value;break;case 7:r.salePrice=e.data.value;break;case 8:r.phone=e.data.value;break;case 9:r.address=e.data.value;break;case 10:r.body2=e.data.value;break;case 11:r.displayUrl=e.data.value;break;case 12:r.cta=e.data.value}else if(e.img)switch(e.img.type){case 2:r.icon={url:e.img.url,width:e.img.w,height:e.img.h};break;case 3:r.image={url:e.img.url,width:e.img.w,height:e.img.h}}})),e.eventtrackers?(r.impressionTrackers=[],e.eventtrackers.forEach((function(e){if(1===e.event)switch(e.method){case 1:r.impressionTrackers.push(e.url);break;case 2:r.javascriptTrackers='<script src="'.concat(e.url,'"><\/script>')}}))):(r.impressionTrackers=e.imptrackers||[],r.javascriptTrackers=e.jstracker);e.link&&(r.clickUrl=e.link.url,r.clickTrackers=e.link.clicktrackers);e.privacy&&(r.privacyLink=e.privacy);return r}(e.native),n.ortbNative=e.native,e.nurl&&n.native.impressionTrackers.unshift(e.nurl),n.mediaType=s.c;else if(e.ad_type&&"video"===e.ad_type)n.vastXml=e.adm,n.mediaType=s.d,g(r)&&(n.adResponse={content:n.vastXml,height:e.h,width:e.w},n.renderer=function(e){var r=c.a.install({id:e.adUnitCode,url:l,loaded:!1,config:Object(i.deepAccess)(e,"renderer.options"),adUnitCode:e.adUnitCode});try{r.setRender(y)}catch(e){Object(i.logWarn)("Prebid Error calling setRender on renderer",e)}return r}(r));else{var d="";e.nurl&&e.nurl.length>0&&(d='<img src="'.concat(e.nurl,'" width="0" height="0" style="display:none">')),n.ad="".concat(d,"<script>").concat(e.adm,"<\/script>"),n.mediaType=s.b}if(n.cpm=parseFloat(e.price),n.creativeId=e.crid,n.currency=e.currency?e.currency.toUpperCase():"USD",Object(i.isNumber)(e.lid)&&e.buying_type&&"rtb"!==e.buying_type)n.dealId=e.lid;else if(Array.isArray(e.lid)&&Array.isArray(e.buying_type)&&e.lid.length===e.buying_type.length){var o=!1;e.buying_type.forEach((function(r,t){o||r&&"rtb"!==r&&(o=!0,n.dealId=e.lid[t])}))}n.height=e.h,n.netRevenue=!!e.isNet&&e.isNet,n.requestId=e.id,n.ttl=300,n.width=e.w,n.width&&n.height||(n.width=1,n.height=1),e.adomain&&(n.meta={advertiserDomains:e.adomain}),a.push(n)}})),a},getUserSyncs:function(e,r){if(e.pixelEnabled){var t=[];return r.forEach((function(e){e.body.bid.forEach((function(e){Object(i.isArray)(e.sync)&&e.sync.forEach((function(e){-1===t.indexOf(e)&&t.push(e)}))}))})),t.map((function(e){return{type:"image",url:e}}))}return[]}};function f(e){var r=Object.keys(Object(i.deepAccess)(e,"mediaTypes",{})),t=Object(i.deepAccess)(e,"mediaTypes.video"),a=Object(i.deepAccess)(e,"mediaTypes.video.context");return"video"===e.mediaType||1===r.length&&t&&"outstream"!==a}function g(e){var r=Object(i.deepAccess)(e,"mediaTypes.video"),t=Object(i.deepAccess)(e,"mediaTypes.video.context");return r&&"outstream"===t}function y(e){e.renderer.push((function(){window.ANOutstreamVideo.renderAd({sizes:[e.width,e.height],targetId:e.adUnitCode,adResponse:e.adResponse,rendererOptions:e.renderer.getConfig()},h.bind(null,e))}))}function h(e,r,t){e.renderer.handleVideoEvent({id:r,eventName:t})}function v(e){this.CONSTANTS={AD_SERVER_BASE_URL:"ice.360yield.com",END_POINT:e||"hb",AD_SERVER_URL_PARAM:"jsonp=",CLIENT_VERSION:"JS-6.4.0",MAX_URL_LENGTH:2083,ERROR_CODES:{MISSING_PLACEMENT_PARAMS:2,LIB_VERSION_MISSING:3},RETURN_OBJ_TYPE:{DEFAULT:0,URL_PARAMS_SPLIT:1}},this.getErrorReturn=function(e){return{idMappings:{},requests:{},errorCode:e}},this.createRequest=function(e,r,t){if(!r.libVersion)return this.getErrorReturn(this.CONSTANTS.ERROR_CODES.LIB_VERSION_MISSING);r.returnObjType=r.returnObjType||this.CONSTANTS.RETURN_OBJ_TYPE.DEFAULT,r.adServerBaseUrl="https://"+(r.adServerBaseUrl||this.CONSTANTS.AD_SERVER_BASE_URL);var a,n=[];if(Object(i.isArray)(e))for(var s=0;s<e.length;s++)a=this.createImpressionObject(e[s]),n.push(a);else a=this.createImpressionObject(e),n.push(a);var c=!0;r.returnObjType===this.CONSTANTS.RETURN_OBJ_TYPE.URL_PARAMS_SPLIT&&(c=!1);var d={requests:[]};c&&(d.idMappings=[]);for(var o=null,u="".concat(r.adServerBaseUrl,"/").concat(this.CONSTANTS.END_POINT,"?").concat(this.CONSTANTS.AD_SERVER_URL_PARAM),p={bid_request:this.createBasicBidRequestObject(r,t)},l=0;l<n.length;l++)if((a=n[l]).errorCode)(o=o||[]).push({errorCode:a.errorCode,adUnitId:a.adUnitId});else{c&&d.idMappings.push({adUnitId:a.adUnitId,id:a.impressionObject.id}),p.bid_request.imp=p.bid_request.imp||[],p.bid_request.imp.push(a.impressionObject);var b=!1;(u+encodeURIComponent(JSON.stringify(p))).length>this.CONSTANTS.MAX_URL_LENGTH&&(b=!0,p.bid_request.imp.length>1&&(p.bid_request.imp.pop(),c&&d.idMappings.pop(),l--)),!b&&r.singleRequestMode&&l!==n.length-1||(d.requests.push(this.formatRequest(r,p)),p={bid_request:this.createBasicBidRequestObject(r,t)})}return o&&(d.errors=o),d},this.formatRequest=function(e,r){switch(e.returnObjType){case this.CONSTANTS.RETURN_OBJ_TYPE.URL_PARAMS_SPLIT:return{method:"GET",url:"".concat(e.adServerBaseUrl,"/").concat(this.CONSTANTS.END_POINT),data:"".concat(this.CONSTANTS.AD_SERVER_URL_PARAM).concat(encodeURIComponent(JSON.stringify(r)))};default:return{url:"".concat(e.adServerBaseUrl,"/")+"".concat(this.CONSTANTS.END_POINT,"?").concat(this.CONSTANTS.AD_SERVER_URL_PARAM)+encodeURIComponent(JSON.stringify(r))}}},this.createBasicBidRequestObject=function(e,r){var t={secure:1};if(e.requestId?t.id=e.requestId:t.id=Object(i.getUniqueIdentifierStr)(),e.domain&&(t.domain=e.domain),e.page&&(t.page=e.page),e.ref&&(t.ref=e.ref),e.callback&&(t.callback=e.callback),e.libVersion&&(t.version=e.libVersion+"-"+this.CONSTANTS.CLIENT_VERSION),e.referrer&&(t.referrer=e.referrer),(e.gdpr||0===e.gdpr)&&(t.gdpr=e.gdpr),e.usPrivacy&&(t.us_privacy=e.usPrivacy),e.schain&&(t.schain=e.schain),e.pagecat&&(t.pagecat=e.pagecat),e.genre&&(t.genre=e.genre),e.user&&(t.user=e.user),r)for(var a in r)t[a]=r[a];return e.coppa&&(t.coppa=1),t},this.createImpressionObject=function(e){var r={},t={};if(r.impressionObject=t,e.id?t.id=e.id:t.id=Object(i.getUniqueIdentifierStr)(),e.adTypes&&(t.ad_types=e.adTypes),e.adUnitId&&(r.adUnitId=e.adUnitId),e.currency&&(t.currency=e.currency.toUpperCase()),e.bidFloor&&(t.bidfloor=e.bidFloor),e.bidFloorCur&&(t.bidfloorcur=e.bidFloorCur.toUpperCase()),e.placementId&&(t.pid=e.placementId),e.publisherId&&(t.pubid=e.publisherId),e.placementKey&&(t.pkey=e.placementKey),e.transactionId&&(t.tid=e.transactionId),!Object(i.isEmpty)(e.video)){var a=p({},e.video);1!==a.skip&&(delete a.skipmin,delete a.skipafter,0!==a.skip&&(Object(i.logWarn)("video.skip: invalid value '".concat(a.skip,"'. Expected 0 or 1")),delete a.skip)),Object(i.isEmpty)(a)||(t.video=a)}if(e.keyValues)for(var n in e.keyValues)for(var s=0;s<e.keyValues[n].length;s++)t.kvw=t.kvw||{},t.kvw[n]=t.kvw[n]||[],t.kvw[n].push(e.keyValues[n][s]);if(t.banner={},e.size&&e.size.w&&e.size.h&&(t.banner.w=e.size.w,t.banner.h=e.size.h),e.format&&Object(i.isArray)(e.format)){var c=e.format.filter((function(e){return 2===e.length&&Object(i.isInteger)(e[0])&&Object(i.isInteger)(e[1])&&e[0]>=0&&e[1]>=0})).map((function(e){return{w:e[0],h:e[1]}}));c.length>0&&(t.banner.format=c)}return t.pid||t.pubid||t.pkey||t.banner&&t.banner.w&&t.banner.h||(r.impressionObject=null,r.errorCode=this.CONSTANTS.ERROR_CODES.MISSING_PLACEMENT_PARAMS),r}}Object(a.registerBidder)(m),window.tmzr.installedModules.push("improvedigitalBidAdapter")}},[553]);
tmzrChunk([241],{587:function(e,r,t){e.exports=t(588)},588:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),t.d(r,"ERROR_CODES",(function(){return z})),t.d(r,"storage",(function(){return L})),t.d(r,"spec",(function(){return oe}));var i=t(0),n=t(2),a=t(3),o=t(5),s=t.n(o),d=t(7),c=t(10),p=t.n(c),u=t(11),l=t.n(u),m=t(1),b=t(19),f=t(12),g=t.n(f),y=t(13);function O(e){return function(e){if(Array.isArray(e))return S(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||A(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,i)}return t}function I(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?h(Object(t),!0).forEach((function(r){j(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):h(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function j(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function x(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=A(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var i=0,n=function(){};return{s:n,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==t.return||t.return()}finally{if(s)throw a}}}}function A(e,r){if(e){if("string"==typeof e)return S(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?S(e,r):void 0}}function S(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,i=new Array(r);t<r;t++)i[t]=e[t];return i}var E="ix",w="roundel",_=[n.b,n.d],D=8e3,P={JPY:1},T="p",C="x",z={BID_SIZE_INVALID_FORMAT:1,BID_SIZE_NOT_INCLUDED:2,PROPERTY_NOT_INCLUDED:3,SITE_ID_INVALID_VALUE:4,BID_FLOOR_INVALID_FORMAT:5,IX_FPD_EXCEEDS_MAX_SIZE:6,EXCEEDS_MAX_SIZE:7,PB_FPD_EXCEEDS_MAX_SIZE:8,VIDEO_DURATION_INVALID:9},R={SITE:["id","name","domain","cat","sectioncat","pagecat","page","ref","search","mobile","privacypolicy","publisher","content","keywords","ext"],USER:["id","buyeruid","yob","gender","keywords","customdata","geo","data","ext"]},N={"liveramp.com":"idl","netid.de":"NETID","neustar.biz":"fabrickId","zeotap.com":"zeotapIdPlus","uidapi.com":"UID2","adserver.org":"TDID","id5-sync.com":"","crwdcntrl.net":"","epsilon.com":"","audigent.com":"","pubcid.org":"","trustpid.com":""},X=["britepoolid","lipbid","criteoId","merkleId","parrableId","connectid","tapadId","quantcastId","flocId","pubProvidedId"],B=["mimes","minduration","maxduration"],k=["mimes","minduration","maxduration","protocols","protocol","startdelay","placement","linearity","skip","skipmin","skipafter","sequence","battr","maxextended","minbitrate","maxbitrate","boxingallowed","playbackmethod","playbackend","delivery","pos","companionad","api","companiontype","ext","playerSize","w","h"],F="ixdiag",U=!1,L=Object(d.b)(10,E),V=2;function M(e){var r={};return r.id=e.bidId,r.ext={},r.ext.siteID=e.params.siteId.toString(),!e.params.hasOwnProperty("id")||"string"!=typeof e.params.id&&"number"!=typeof e.params.id||(r.ext.sid=String(e.params.id)),r}function q(e,r,t){var n=null,a=null;if(e.params.bidFloor&&e.params.bidFloorCur&&(n={floor:e.params.bidFloor,currency:e.params.bidFloorCur}),Object(i.isFn)(e.getFloor)){var o="*",s="*";if(t&&Object(i.contains)(_,t)){var d=r[t];o=t,s=[d.w,d.h]}try{a=e.getFloor({mediaType:o,size:s})}catch(e){Object(i.logWarn)("priceFloors module call getFloor failed, error : ",e)}}a?(r.bidfloor=a.floor,r.bidfloorcur=a.currency,r.ext.fl=T):n&&(r.bidfloor=n.floor,r.bidfloorcur=n.currency,r.ext.fl=C)}function J(e,r,t){var a={},o=!(!Object(i.deepAccess)(e,"exp")||!Object(i.isInteger)(e.exp)),s=Object(i.deepAccess)(e,"dealid")||Object(i.deepAccess)(e,"ext.dealid");return P.hasOwnProperty(r)?a.cpm=e.price/P[r]:a.cpm=e.price/100,a.requestId=e.impid,s&&(a.dealId=s),a.netRevenue=true,a.currency=r,a.creativeId=e.hasOwnProperty("crid")?e.crid:"-",e.mtype==V?a.vastXml=e.adm:e.ext&&e.ext.vasturl&&(a.vastUrl=e.ext.vasturl),e.ext&&e.ext.vasturl||e.mtype==V?(a.width=t.video.w,a.height=t.video.h,a.mediaType=n.d,a.mediaTypes=t.mediaTypes,a.ttl=o?e.exp:3600):(a.ad=e.adm,a.width=e.w,a.height=e.h,a.mediaType=n.b,a.ttl=o?e.exp:300),a.meta={},a.meta.networkId=Object(i.deepAccess)(e,"ext.dspid"),a.meta.brandId=Object(i.deepAccess)(e,"ext.advbrandid"),a.meta.brandName=Object(i.deepAccess)(e,"ext.advbrand"),e.adomain&&e.adomain.length>0&&(a.meta.advertiserDomains=e.adomain),a}function Z(e){return Array.isArray(e)&&2===e.length&&Object(i.isInteger)(e[0])&&Object(i.isInteger)(e[1])}function W(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(Z(e))return e[0]===r[0]&&e[1]===r[1];for(var t=0;t<e.length;t++)if(e[t][0]===r[0]&&e[t][1]===r[1])return!0;return!1}function G(e,r){var t=[];e||Object(i.logWarn)("IX Bid Adapter: mediaTypes.video is the preferred location for video params in ad unit");var n,a=x(B);try{for(a.s();!(n=a.n()).done;){var o=n.value,s=e&&e.hasOwnProperty(o),d=r&&r.hasOwnProperty(o);s||d||t.push("IX Bid Adapter: ".concat(o," is not included in either the adunit or params level"))}}catch(e){a.e(e)}finally{a.f()}var c=e&&e.hasOwnProperty("protocol"),p=e&&e.hasOwnProperty("protocols"),u=r&&r.hasOwnProperty("protocol"),l=r&&r.hasOwnProperty("protocols");return c||p||u||l||t.push("IX Bid Adapter: protocol/protcols is not included in either the adunit or params level"),t}function Y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Z(e)?e:!!Z(e[0])&&e[0]}function Q(e,r,t){if(e)return I(I({},l()(t,(function(r){return r.bidId===e}))),l()(r,(function(r){return r.id===e})))}function $(e,r,t,o){var s="https://htlb.casalemedia.com/cygnus",d=function(e,r){var t=[],n={};if(Object(i.isArray)(e)){var a,o=x(e);try{for(o.s();!(a=o.n()).done;){var s=a.value;N.hasOwnProperty(s.source)&&Object(i.deepAccess)(s,"uids.0")&&(n[s.source]=!0,""!=N[s.source]&&(s.uids[0].ext={rtiPartner:N[s.source]}),delete s.uids[0].atype,t.push(s))}}catch(e){o.e(e)}finally{o.f()}}if(r&&r.id&&r.version){var d={source:"chrome.com",uids:[{id:r.id,ext:{rtiPartner:"flocId",ver:r.version}}]};t.push(d),n["chrome.com"]=!0}return{toSend:t,seenSources:n}}(Object(i.deepAccess)(e,"0.userIdAsEids"),Object(i.deepAccess)(e,"0.userId.flocId")),c=d.toSend,p=function(){var e=a.b.getConfig("pageUrl");try{return new URL(e).href}catch(r){return void Object(i.logWarn)("IX Bid Adapter: invalid pageUrl config property value set: ".concat(e))}}()||Object(i.deepAccess)(r,"refererInfo.referer");if(window.headertag&&"function"==typeof window.headertag.getIdentityInfo){var u=window.headertag.getIdentityInfo();if(u&&"object"===v(u))for(var l in u)if(u.hasOwnProperty(l)){var m=u[l];!m.responsePending&&m.data&&"object"===v(m.data)&&Object.keys(m.data).length&&!d.seenSources[m.data.source]&&c.push(m.data)}}if(r&&r.bidderCode===w&&!d.seenSources["liveramp.com"])return[];var b={};b.id=e[0].bidderRequestId.toString(),b.site={},b.ext={},b.ext.source="prebid",b.ext.ixdiag={},b.ext.ixdiag.msd=0,b.ext.ixdiag.msi=0,b.imp=[],b.at=1;var f=function(e){for(var r=e.map((function(e){return e.transactionId})).filter((function(e,r,t){return t.indexOf(e)===r})),t={mfu:0,bu:0,iu:0,nu:0,ou:0,allu:0,ren:!1,version:"6.13.0",userIds:H(e[0])},n=function(n){if(o=e.filter((function(e){return e.transactionId===r[n]}))[0],Object(i.deepAccess)(o,"mediaTypes")){if(Object.keys(o.mediaTypes).length>1&&t.mfu++,Object(i.deepAccess)(o,"mediaTypes.native")&&t.nu++,Object(i.deepAccess)(o,"mediaTypes.banner")&&t.bu++,"outstream"===Object(i.deepAccess)(o,"mediaTypes.video.context")){t.ou++;var a="object"===v(Object(i.deepAccess)(o,"renderer")||Object(i.deepAccess)(o,"mediaTypes.video.renderer"));t.ren=t.ren&&a?Object(i.deepAccess)(t,"ren"):a}"instream"===Object(i.deepAccess)(o,"mediaTypes.video.context")&&t.iu++,t.allu++}},a=0;a<r.length;a++){var o;n(a)}return t}(e);for(var g in f)b.ext.ixdiag[g]=f[g];var y=function(){if(!L.localStorageIsEnabled())return;var e,r={};try{e=JSON.parse(L.getDataFromLocalStorage(F)||"{}")}catch(e){return Object(i.logError)("ix can not read ixdiag from localStorage."),null}return Object.keys(e).forEach((function(t){Object.keys(e[t]).forEach((function(i){"number"==typeof e[t][i]&&(r[i]=r[i]?r[i]+e[t][i]:e[t][i])}))})),r}();if(Object(i.isEmpty)(y)||(b.ext.ixdiag.err=y),e[0].schain&&(b.source={ext:{schain:e[0].schain}}),c.length>0&&(b.user={},b.user.eids=c),document.referrer&&""!==document.referrer&&(b.site.ref=document.referrer),r){if(r.gdprConsent){var h=r.gdprConsent;h.hasOwnProperty("gdprApplies")&&(b.regs={ext:{gdpr:h.gdprApplies?1:0}}),h.hasOwnProperty("consentString")&&(b.user=b.user||{},b.user.ext={consent:h.consentString||""},h.hasOwnProperty("addtlConsent")&&h.addtlConsent&&(b.user.ext.consented_providers_settings={consented_providers:h.addtlConsent}))}r.uspConsent&&Object(i.deepSetValue)(b,"regs.ext.us_privacy",r.uspConsent),p&&(b.site.page=p)}a.b.getConfig("coppa")&&Object(i.deepSetValue)(b,"regs.coppa",1);var j={};j.s=e[0].params.siteId,j.v=o,j.ac="j",j.sd=1,8.1===o&&(j.nf=1);var A=r&&r.bidderCode||"ix",S=a.b.getConfig(A),_=[],P=0,T=Object.keys(t),C="".concat(s).concat(Object(i.parseQueryStringParameters)(I(I({},j),{},{r:JSON.stringify(b)}))).length;if(C>D)return Object(i.logError)("IX Bid Adapter: Base request size has exceeded maximum request size.",{bidder:E,code:z.EXCEEDS_MAX_SIZE}),_;var X=C,B=0,k=!1;if(S){if("object"===v(S.firstPartyData)){var U=S.firstPartyData,V="?";for(var M in U)U.hasOwnProperty(M)&&(V+="".concat(encodeURIComponent(M),"=").concat(encodeURIComponent(U[M]),"&"));V=V.slice(0,-1),(B=encodeURIComponent(V).length)<D?("page"in b.site?b.site.page+=V:b.site.page=V,X+=B):Object(i.logError)("IX Bid Adapter: IX config FPD request size has exceeded maximum request size.",{bidder:E,code:z.IX_FPD_EXCEEDS_MAX_SIZE})}"number"==typeof S.timeout&&(j.t=S.timeout),"boolean"==typeof S.detectMissingSizes?b.ext.ixdiag.dms=S.detectMissingSizes:b.ext.ixdiag.dms=!0}for(var q=function(r){if(X>=D||_.length>=4)return"break";for(var o=t[T[r]],d=o.missingCount,c=void 0===d?0:d,p=o.missingImps,u=void 0===p?[]:p,l=o.ixImps,m=!1,f=D-X,g={ixImps:void 0===l?[]:l,missingBannerImpressions:u},y=Object.keys(g).map((function(e){return g[e]})).filter((function(e){return Array.isArray(e)})).reduce((function(e,r){return e.concat.apply(e,O(r))}),[]),v=encodeURIComponent(JSON.stringify({impressionObjects:y})).length;y.length&&v>f;)m=!0,y.pop(),v=encodeURIComponent(JSON.stringify({impressionObjects:y})).length;var h=t[T[r]].gpid,x=t[T[r]].dfp_ad_unit_code;if(y.length&&n.b in y[0]){var A=y[0],S={id:A.id,banner:{topframe:A.banner.topframe,format:y.map((function(e){var r=e.banner;return{w:r.w,h:r.h,ext:e.ext}}))}};(x||h)&&(S.ext={},S.ext.dfp_ad_unit_code=x,S.ext.gpid=h),"bidfloor"in y[0]&&(S.bidfloor=y[0].bidfloor),"bidfloorcur"in y[0]&&(S.bidfloorcur=y[0].bidfloorcur),b.imp.push(S),b.ext.ixdiag.msd+=c,b.ext.ixdiag.msi+=u.length}else{var w;y.forEach((function(e){return Object(i.deepSetValue)(e,"ext.gpid",h)})),(w=b.imp).push.apply(w,O(y))}X+=v;var N=a.b.getConfig("ortb2")||{};if(!Object(i.isEmpty)(N)&&!k){b.ext.ixdiag.fpd=!0;var B=I({},N.site||N.context);Object.keys(B).forEach((function(e){-1===R.SITE.indexOf(e)&&delete B[e]}));var F=I({},N.user);Object.keys(F).forEach((function(e){-1===R.USER.indexOf(e)&&delete F[e]}));var U=Object(i.deepClone)(b);if(U.site=Object(i.mergeDeep)({},U.site,B),U.user=Object(i.mergeDeep)({},U.user,F),"".concat(s).concat(Object(i.parseQueryStringParameters)(I(I({},j),{},{r:JSON.stringify(U)}))).length<D){b.site=Object(i.mergeDeep)({},b.site,B),b.user=Object(i.mergeDeep)({},b.user,F),k=!0;var L=encodeURIComponent(JSON.stringify(I(I({},B),F))).length;X+=L}else Object(i.logError)("IX Bid Adapter: FPD request size has exceeded maximum request size.",{bidder:E,code:z.PB_FPD_EXCEEDS_MAX_SIZE})}var V=r===T.length-1;if(m||V){var M=Object(i.deepClone)(j);V&&!P||(b.ext.ixdiag.sn=P,M.sn=P),P++,M.r=JSON.stringify(b),_.push({method:"GET",url:s,data:M,validBidRequests:e}),X=C,b.imp=[],b.ext.ixdiag.msd=0,b.ext.ixdiag.msi=0,k=!1}},J=0;J<T.length;J++){if("break"===q(J))break}return _}function H(e){var r=e.userId||{};return X.filter((function(e){return r[e]}))}function K(e,r){if(r)for(var t=0;t<e.length;t++){var i=e[t];if(r[0]===i[0]&&r[1]===i[1]){e.splice(t,1);break}}}function ee(e,r){var t=function(e){var r=M(e),t=Object(i.deepAccess)(e,"mediaTypes.video"),a=Object(i.deepAccess)(e,"params.video");if(G(t,a).length)return{};for(var o in r.video=a?Object(i.deepClone)(e.params.video):{},t)-1===k.indexOf(o)||r.video.hasOwnProperty(o)||(r.video[o]=t[o]);if(r.video.minduration>r.video.maxduration)return Object(i.logError)("IX Bid Adapter: video minduration [".concat(r.video.minduration,"] cannot be greater than video maxduration [").concat(r.video.maxduration,"]"),{bidder:E,code:z.VIDEO_DURATION_INVALID}),{};var s=a&&a.context||t&&t.context;if(s&&!r.video.hasOwnProperty("placement")&&(s===b.a?r.video.placement=1:s===b.b?r.video.placement=4:Object(i.logWarn)("IX Bid Adapter: Video context '".concat(s,"' is not supported"))),!r.video.w||!r.video.h){var d=Y(Object(i.deepAccess)(r,"video.playerSize"))||Y(Object(i.deepAccess)(e,"params.size"));if(!d)return Object(i.logWarn)("IX Bid Adapter: Video size is missing in [mediaTypes.video] missing"),{};r.video.w=d[0],r.video.h=d[1],Object(i.deepAccess)(r,"ext.sid")||(r.ext.sid=Object(i.parseGPTSingleSizeArray)(d))}return q(e,r,n.d),r}(e);0!=Object.keys(t).length&&(r[e.transactionId]={},r[e.transactionId].ixImps=[],r[e.transactionId].ixImps.push(t),r[e.transactionId].gpid=Object(i.deepAccess)(e,"ortb2Imp.ext.gpid"))}function re(e,r,t){var o=I(I({},{detectMissingSizes:!0}),a.b.getConfig("ix")),s=function(e){var r=M(e);r.banner={};var t=Object(i.deepAccess)(e,"params.size");return t&&(r.banner.w=t[0],r.banner.h=t[1],Object(i.deepAccess)(r,"ext.sid")||(r.ext.sid=Object(i.parseGPTSingleSizeArray)(t))),r.banner.topframe=Object(i.inIframe)()?0:1,q(e,r,n.b),r}(e),d=W(Object(i.deepAccess)(e,"mediaTypes.banner.sizes"),Object(i.deepAccess)(e,"params.size"));t.hasOwnProperty(e.transactionId)||(t[e.transactionId]={}),t[e.transactionId].gpid=Object(i.deepAccess)(e,"ortb2Imp.ext.gpid"),t[e.transactionId].dfp_ad_unit_code=Object(i.deepAccess)(e,"ortb2Imp.ext.data.adserver.adslot"),d&&(t[e.transactionId].hasOwnProperty("ixImps")||(t[e.transactionId].ixImps=[]),t[e.transactionId].ixImps.push(s)),o.hasOwnProperty("detectMissingSizes")&&o.detectMissingSizes&&function(e,r,t){var n=e.transactionId;if(r.hasOwnProperty(n)){var a=[];r[n].hasOwnProperty("missingSizes")&&(a=r[n].missingSizes),K(a,e.params.size),r[n].missingSizes=a}else if(Object(i.deepAccess)(e,"mediaTypes.banner.sizes")){var o=Object(i.deepClone)(e.mediaTypes.banner.sizes);K(o,e.params.size);var s={missingSizes:o,impression:t};r[n]=s}}(e,r,s)}function te(e,r,t){var a=Object(i.deepClone)(r);return a.ext.sid=Object(i.parseGPTSingleSizeArray)(t),a.banner.w=t[0],a.banner.h=t[1],q(e,a,n.b),a}function ie(e){if("ERROR"===e.type&&e.arguments&&e.arguments[1]&&e.arguments[1].bidder===E){var r={hasEnforcementHook:!1,valid:Object(i.hasDeviceAccess)()};Object(d.d)(10,E,r,(function(r){r.valid&&function(e){if(L.localStorageIsEnabled()){var r;try{r=JSON.parse(L.getDataFromLocalStorage(F)||"{}")}catch(e){Object(i.logWarn)("ix can not read ixdiag from localStorage.")}var t=new Date;if(Object.keys(r).map((function(e){var i=new Date(e);i.setDate(i.getDate()+7)-t<0&&delete r[e]})),"ERROR"===e.type&&e.arguments&&e.arguments[1]&&e.arguments[1].bidder===E){var n=t.toISOString().slice(0,10),a=e.arguments[1].code;a&&(r[n]=r[n]||{},Number(r[n][a])||(r[n][a]=0),r[n][a]++)}L.setDataInLocalStorage(F,JSON.stringify(r))}}(e)}))}}function ne(e){e.renderer.push((function(){var r={width:e.width,height:e.height,timeout:3e3};e.vastXml?window.IXOutstreamPlayer(e.vastXml,e.adUnitCode,r):window.IXOutstreamPlayer(e.vastUrl,e.adUnitCode,r)}))}function ae(e){var r=y.a.install({id:e,url:"https://js-sec.indexww.com/htv/video-player.js",loaded:!1});try{r.setRender(ne)}catch(e){Object(i.logWarn)("Prebid Error calling setRender on renderer",e)}return r}var oe={code:E,gvlid:10,aliases:[{code:w,gvlid:10,skipPbsAliasing:!1}],supportedMediaTypes:_,isBidRequestValid:function(e){U||(p.a.on(s.a.EVENTS.AUCTION_DEBUG,ie),p.a.on(s.a.EVENTS.AD_RENDER_FAILED,ie),U=!0);var r,t,n=Object(i.deepAccess)(e,"params.video"),a=Object(i.deepAccess)(e,"params.size"),o=Object(i.deepAccess)(e,"mediaTypes.banner.sizes"),d=Object(i.deepAccess)(e,"mediaTypes.video"),c=Object(i.deepAccess)(e,"mediaTypes.video.playerSize"),u=e.params.hasOwnProperty("bidFloor"),l=e.params.hasOwnProperty("bidFloorCur");if(e.hasOwnProperty("mediaType")&&!Object(i.contains)(_,e.mediaType))return Object(i.logWarn)("IX Bid Adapter: media type is not supported."),!1;if(Object(i.deepAccess)(e,"mediaTypes.banner")&&!o)return!1;if(a){var m=Y(a);if(!m)return Object(i.logError)("IX Bid Adapter: size has invalid format.",{bidder:E,code:z.BID_SIZE_INVALID_FORMAT}),!1;if(!W(e.sizes,m)&&!W(c,m)&&!W(o,m))return Object(i.logError)("IX Bid Adapter: bid size is not included in ad unit sizes or player size.",{bidder:E,code:z.BID_SIZE_NOT_INCLUDED}),!1}if("string"!=typeof e.params.siteId&&"number"!=typeof e.params.siteId)return Object(i.logError)("IX Bid Adapter: siteId must be string or number type.",{bidder:E,code:z.SITE_ID_INVALID_VALUE}),!1;if("string"!=typeof e.params.siteId&&isNaN(Number(e.params.siteId)))return Object(i.logError)("IX Bid Adapter: siteId must valid value",{bidder:E,code:z.SITE_ID_INVALID_VALUE}),!1;if((u||l)&&!(u&&l&&(r=e.params.bidFloor,t=e.params.bidFloorCur,Boolean("number"==typeof r&&"string"==typeof t&&t.match(/^[A-Z]{3}$/)))))return Object(i.logError)("IX Bid Adapter: bidFloor / bidFloorCur parameter has invalid format.",{bidder:E,code:z.BID_FLOOR_INVALID_FORMAT}),!1;if(d&&n){var b=G(d,n);if(b.length)return b.forEach((function(e){Object(i.logError)(e,{bidder:E,code:z.PROPERTY_NOT_INCLUDED})})),!1}return!0},buildRequests:function(e,r){var t=[],a={},o={},s={},d={};for(var c in e.forEach((function(e){var r=Object.keys(Object(i.deepAccess)(e,"mediaTypes",{}));switch(function(e){return Object(i.deepAccess)(e,"params.video")&&Object(i.deepAccess)(e,"mediaTypes.video")?n.d:n.b}(e)){case n.b:re(e,d,a);break;case n.d:ee(e,o)}g()(r,n.b)&&g()(r,n.d)&&(s[e.transactionId]=e)})),Object.keys(s).forEach((function(e){var r=s[e];a[e]||re(r,d,a),o[e]||ee(r,o)})),d)if(d.hasOwnProperty(c)){var p=d[c].missingSizes;a.hasOwnProperty(c)||(a[c]={}),a[c].hasOwnProperty("missingImps")||(a[c].missingImps=[],a[c].missingCount=0);for(var u=d[c].impression,l=0;l<p.length;l++){var m=te(e[0],u,p[l]);a[c].missingImps.push(m),a[c].missingCount++}}return Object.keys(a).length>0&&t.push.apply(t,O($(e,r,a,7.2))),Object.keys(o).length>0&&t.push.apply(t,O($(e,r,o,8.1))),t},interpretResponse:function(e,r){var t=[],n=null;if(!e.hasOwnProperty("body")||!e.body.hasOwnProperty("seatbid"))return t;for(var a=e.body,o=a.seatbid,s=0;s<o.length;s++)if(o[s].hasOwnProperty("bid")){for(var d=o[s].bid,c=JSON.parse(r.data.r),p=0;p<d.length;p++){var u=Q(d[p].impid,c.imp,r.validBidRequests);n=J(d[p],a.cur,u),Object(i.deepAccess)(n,"mediaTypes.video.renderer")||"outstream"!==Object(i.deepAccess)(n,"mediaTypes.video.context")||(n.renderer=ae(d[p].bidId)),t.push(n)}if(Object(i.deepAccess)(c,"ext.ixdiag.err")&&L.localStorageIsEnabled())try{L.removeDataFromLocalStorage(F)}catch(e){Object(i.logError)("ix can not clear ixdiag from localStorage.")}}return t},transformBidParams:function(e,r){return Object(i.convertTypes)({siteID:"number"},e)},getUserSyncs:function(e,r){return e.iframeEnabled?[{type:"iframe",url:"https://js-sec.indexww.com/um/ixmatch.html"}]:[]}};Object(m.registerBidder)(oe),window.tmzr.installedModules.push("ixBidAdapter")}},[587]);
tmzrChunk([238],{593:function(e,n,r){e.exports=r(594)},594:function(e,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),r.d(n,"spec",(function(){return a}));var t=r(1),i=r(0),s=[],a={code:"justpremium",gvlid:62,time:6e4,isBidRequestValid:function(e){return!!(e&&e.params&&e.params.zone)},buildRequests:function(e,n){var r,t,s=(r={},t={},e.forEach((function(e){var n=e.params,i=n.zone;if(1!==r[i]){var s=n.allow||n.formats||[],a=n.exclude||[];if(0===s.length&&0===a.length)return r[n.zone]=1;r[i]=r[i]||[[],{}],r[i][0]=function(e){for(var n=e.concat(),r=0;r<n.length;++r)for(var t=r+1;t<n.length;++t)n[r]===n[t]&&n.splice(t--,1);return n}(r[i][0].concat(s)),a.forEach((function(e){r[i][1][e]?r[i][1][e]++:r[i][1][e]=1})),t[i]=t[i]||0,a.length&&t[i]++}})),Object.keys(t).forEach((function(e){if(1!==r[e]){var n=[];Object.keys(r[e][1]).forEach((function(i){r[e][1][i]===t[e]&&n.push(i)})),r[e][1]=n}})),Object.keys(r).forEach((function(e){1!==r[e]&&r[e][1].length&&(r[e][0].forEach((function(n){var t=r[e][1].indexOf(n);t>-1&&r[e][1].splice(t,1)})),r[e][0].length=0),1===r[e]||r[e][0].length||r[e][1].length||(r[e]=1)})),r),a=function(){var e;try{e=window.top}catch(n){e=window}return{screenWidth:e.screen.width,screenHeight:e.screen.height,innerWidth:e.innerWidth,innerHeight:e.innerHeight}}(),c={zone:e.map((function(e){return parseInt(e.params.zone)})).filter((function(e,n,r){return r.indexOf(e)===n})),referer:n.refererInfo.referer,sw:a.screenWidth,sh:a.screenHeight,ww:a.innerWidth,wh:a.innerHeight,c:s,id:e[0].params.zone,sizes:{}};e.forEach((function(e){var n=e.params.zone,r=c.sizes;r[n]=r[n]||[],r[n].push.apply(r[n],e.mediaTypes&&e.mediaTypes.banner&&e.mediaTypes.banner.sizes)})),Object(i.deepAccess)(e[0],"userId.pubcid")?c.pubcid=Object(i.deepAccess)(e[0],"userId.pubcid"):Object(i.deepAccess)(e[0],"crumbs.pubcid")&&(c.pubcid=Object(i.deepAccess)(e[0],"crumbs.pubcid")),c.uids=e[0].userId,n&&n.gdprConsent&&(c.gdpr_consent={consent_string:n.gdprConsent.consentString,consent_required:"boolean"!=typeof n.gdprConsent.gdprApplies||n.gdprConsent.gdprApplies}),n&&n.uspConsent&&(c.us_privacy=n.uspConsent),c.version={prebid:"6.13.0",jp_adapter:"1.8.1"},e[0].schain&&(c.schain=e[0].schain);var o=JSON.stringify(c);return{method:"POST",url:"https://pre.ads.justpremium.com/v/2.0/t/xhr?i="+ +new Date,data:o,bids:e}},interpretResponse:function(e,n){var r=e.body,t=[];return n.bids.forEach((function(e){var n=function(e,n){var r=e.zone;if(n[r])for(var t=n[r].length;t--;)if(c(e,n[r][t]))return n[r].splice(t,1).pop();return!1}(e.params,r.bid);if(n){var i=e.mediaTypes&&e.mediaTypes.banner&&e.mediaTypes.banner.sizes&&e.mediaTypes.banner.sizes.length&&e.mediaTypes.banner.sizes[0]||[],s={requestId:e.bidId,creativeId:n.id,width:i[0]||n.width,height:i[1]||n.height,ad:n.adm,cpm:n.price,netRevenue:!0,currency:n.currency||"USD",ttl:n.ttl||a.time,format:n.format,meta:{advertiserDomains:n.adomain&&n.adomain.length>0?n.adomain:[]}};n.ext&&n.ext.pg&&(s.adserverTargeting={hb_deal_justpremium:"jp_pg"}),t.push(s)}})),t},getUserSyncs:function(e,n,r,t){var i="https://pre.ads.justpremium.com/v/1.0/t/sync?_c=a"+Math.random().toString(36).substring(7)+Date.now();return r&&"boolean"==typeof r.gdprApplies&&r.gdprApplies&&r.consentString&&(i=i+"&consentString="+encodeURIComponent(r.consentString)),t&&(i=i+"&usPrivacy="+encodeURIComponent(t)),e.iframeEnabled&&s.push({type:"iframe",url:i}),s}};function c(e,n){var r=n.format;return e.allow&&e.allow.length?e.allow.indexOf(r)>-1:!e.exclude||!e.exclude.length||e.exclude.indexOf(r)<0}Object(t.registerBidder)(a),window.tmzr.installedModules.push("justpremiumBidAdapter")}},[593]);
tmzrChunk([227],{627:function(e,r,n){e.exports=n(628)},628:function(e,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),n.d(r,"spec",(function(){return s}));var t=n(0),d=n(2),i=n(1),s={code:"lockerdome",supportedMediaTypes:[d.b],isBidRequestValid:function(e){return!!e.params.adUnitId},buildRequests:function(e,r){var n,d=e.map((function(e){return e.schain&&(n=n||e.schain),{requestId:e.bidId,adUnitCode:e.adUnitCode,adUnitId:Object(t.getBidIdParameter)("adUnitId",e.params),sizes:e.mediaTypes&&e.mediaTypes.banner&&e.mediaTypes.banner.sizes}})),i=r&&r.refererInfo&&r.refererInfo.canonicalUrl||"",s=r&&r.refererInfo&&r.refererInfo.referer||"",o={bidRequests:d,url:encodeURIComponent(i),referrer:encodeURIComponent(s)};return n&&(o.schain=n),r&&(r.gdprConsent&&(o.gdpr={applies:r.gdprConsent.gdprApplies,consent:r.gdprConsent.consentString}),r.uspConsent&&(o.us_privacy={consent:r.uspConsent})),{method:"POST",url:"https://lockerdome.com/ladbid/prebid",data:JSON.stringify(o)}},interpretResponse:function(e,r){return e&&e.body&&e.body.bids?e.body.bids.map((function(e){return{requestId:e.requestId,cpm:e.cpm,width:e.width,height:e.height,creativeId:e.creativeId,currency:e.currency,netRevenue:e.netRevenue,ad:e.ad,ttl:e.ttl,meta:{advertiserDomains:e.adomain&&Array.isArray(e.adomain)?e.adomain:[]}}})):[]}};Object(i.registerBidder)(s),window.tmzr.installedModules.push("lockerdomeBidAdapter")}},[627]);
tmzrChunk([206],{677:function(e,t,d){e.exports=d(678)},678:function(e,t,d){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),d.d(t,"spec",(function(){return r}));var i=d(1),n=d(2);window.placementBids={};var r={code:"moneytizer",supportedMediaTypes:[n.b],isBidRequestValid:function(e){return!0},buildRequests:function(e){return e.map((function(e){window.placementBids[e.adUnitCode]=e.bidId;var t=e.params.siteId,d=e.adUnitCode;return{method:"GET",url:"https://ads.themoneytizer.com/bidder1/moneybid.js?siteid="+t+"&adid="+e.params.adId+"&formatid="+d+"&size="+function(){if(window.screen.width<=768)var e="smartphone";else e="desktop";return e}()+function(e){if(0!=e)var t="&country="+e;else t="";return t}(e.params.country)}}))},interpretResponse:function(e){e=e.body;var t=[],d={requestId:window.placementBids[e.bids[0].placementCode],cpm:e.bids[0].cpm,width:e.bids[0].w,height:e.bids[0].h,creativeId:window.placementBids[e.bids[0].placementCode],dealId:0,currency:"USD",netRevenue:!0,ttl:300,ad:e.bids[0].ad};return t.push(d),t}};Object(i.registerBidder)(r),window.tmzr.installedModules.push("moneytizerBidAdapter")}},[677]);
tmzrChunk([194],{701:function(e,n,t){e.exports=t(702)},702:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),t.d(n,"spec",(function(){return l}));var i=t(0),r=t(3),o=t(1),d=t(2),a=t(7),s="nobid",u=Object(a.b)(816,s);function c(e,n){Object(i.logInfo)("-NoBid- "+e,n)}function p(e,n){function t(e,n){var t=function(e,n){for(var t=0;t<n.length;t++)if(n[t].d===e)return n[t];return!1}(e.div,n)||{};return e.account&&(t.s=e.account),e.sizes&&(t.z=e.sizes),e.div&&(t.d=e.div),e.targeting?t.g=e.targeting:t.g={},e.div&&function(e,n,t){for(var i=e.length-1;i>=0;i--){var r=e[i];r[n]&&r[n]===t&&e.splice(i,1)}}(n,"d",e.div),e.sizeMapping&&(t.sm=e.sizeMapping),e.siteId&&(t.sid=e.siteId),e.placementId&&(t.pid=e.placementId),e.ad_type&&(t.at=e.ad_type),e.params&&(t.params=e.params),n.push(t),n}if(void 0!==window.nobid.refreshLimit&&window.nobid.refreshLimit<window.nobid.refreshCount)return!1;var o,a=(o="_ublock",u.getCookie(o));if(a)return c("Request blocked for user. hours: ",a),!1;for(var s=[],p=0,b=[],l=0;l<e.length;l++){var g=e[l],f=g.adUnitCode;s.push(f);var v=g.sizes;p=void 0!==g.params.siteId&&g.params.siteId?g.params.siteId:p;var m=g.params.placementId,w="banner",h=Object(i.deepAccess)(g,"mediaTypes.video"),y=Object(i.deepAccess)(g,"mediaTypes.video.context");(g.mediaType===d.d||h&&("instream"===y||"outstream"===y))&&(w="video"),p&&t({div:f,sizes:v,siteId:p,placementId:m,ad_type:w,params:g.params},b)}return!!p&&function(t,o,d){var a,s,u,c,p,b,l,g,f={};f.sid=o,f.l=function(e){var n="";return n=e&&e.refererInfo&&e.refererInfo.referer?e.refererInfo.referer:window.context&&window.context.location&&window.context.location.href?window.context.location.href:document.location.href,encodeURIComponent(n.replace(/\%/g,""))}(n),f.tt=encodeURIComponent(document.title),f.tt=f.tt.replace(/'|;|quot;|39;|&amp;|&|#|\r\n|\r|\n|\t|\f|\%0A|\"|\%22|\%5C|\%23|\%26|\%26|\%09/gm,""),f.a=function(e,n){var t=[];if(e&&e.length){if(n){var i=[];e instanceof Array?i=e:i.push(e);for(var r=0,o=n.length;r<o;r++){var d=n[r];d&&d.d&&i.indexOf(d.d)>-1&&t.push(d)}}}else t=n;return t}(t,d||[]),f.t=(a=new Date,s=function(e){return e<=9?"0"+e:""+e},u=a.getDate(),c=a.getFullYear(),p=a.getMonth()+1,b=a.getHours(),l=a.getMinutes(),g=a.getSeconds(),c+"-"+s(p)+"-"+s(u)+" "+s(b)+":"+s(l)+":"+s(g)),f.tz=Math.round((new Date).getTimezoneOffset()),f.r=function(){try{var e=Math.max(document.documentElement.clientWidth,window.innerWidth||0),n=Math.max(document.documentElement.clientHeight,window.innerHeight||0);return"".concat(e,"x").concat(n)}catch(e){Object(i.logWarn)("Could not parse screen dimensions, error details:",e)}}(),f.lang=navigator.languages&&navigator.languages[0]||navigator.language||navigator.userLanguage,f.ref=document.referrer,f.gdpr=function(e){var n={};return e&&e.gdprConsent&&(n={consentString:e.gdprConsent.consentString,consentRequired:"boolean"==typeof e.gdprConsent.gdprApplies&&e.gdprConsent.gdprApplies}),n}(n),f.usp=function(e){var n="";return e&&e.uspConsent&&(n=e.uspConsent),n}(n),f.pjbdr=n&&n.bidderCode?n.bidderCode:"nobid";var v=function(e){return e&&e.length>0?e[0].schain:null}(e);v&&(f.schain=v);var m=!0===r.b.getConfig("coppa")?{coppa:!0}:e&&e.length>0?e[0].coppa:null;m&&(f.coppa=m);var w=function(e){if(Object(i.isArray)(e)&&e.length>0){var n=[];return e.forEach((function(e){var t=[];e.uids&&e.uids.forEach((function(e){t.push({id:e.id+""})})),e.source&&t.length>0&&n.push({source:e.source,uids:t})})),n}}(Object(i.deepAccess)(e,"0.userIdAsEids"));return w&&w.length>0&&(f.eids=w),r.b&&r.b.getConfig("ortb2")&&(f.ortb2=r.b.getConfig("ortb2")),f}(s,p,b)}function b(e,n){var t=function(e,n){for(var t=0;t<n.length;t++)if(n[t].adUnitCode==e)return n[t];return!1};!function(e){e&&void 0!==e.rlimit&&(window.nobid.refreshLimit=e.rlimit)}(e),function(e){e&&void 0!==e.ublock&&function(e,n,t){var i=new Date;i.setTime(i.getTime()+60*t*60*1e3);var r="expires="+i.toUTCString();u.setCookie(e,n,r)}("_ublock","1",e.ublock)}(e);for(var i=[],r=0;e.bids&&r<e.bids.length;r++){var o=e.bids[r];if(!(o.bdrid<100)&&n&&n.bidderRequest&&n.bidderRequest.bids){window.nobid.bidResponses[""+o.id]=o;var a=t(o.divid,n.bidderRequest.bids);if(a){var s={requestId:a.bidId,cpm:1*(o.price?o.price:o.bucket?o.bucket:0),width:o.size.w,height:o.size.h,creativeId:o.creativeid||"",dealId:o.dealid||"",currency:"USD",netRevenue:!0,ttl:300,ad:o.adm,mediaType:o.atype||d.b};o.vastUrl&&(s.vastUrl=o.vastUrl),o.vastXml&&(s.vastXml=o.vastXml),o.videoCacheKey&&(s.videoCacheKey=o.videoCacheKey),o.meta&&(s.meta=o.meta),i.push(s)}}}return i}window.nobidVersion="1.3.2",window.nobid=window.nobid||{},window.nobid.bidResponses=window.nobid.bidResponses||{},window.nobid.timeoutTotal=0,window.nobid.bidWonTotal=0,window.nobid.refreshCount=0,window.nobid.renderTag=function(e,n,t){c("nobid.renderTag()",n);var i=window.nobid.bidResponses[""+n];if(i&&i.adm2){c("nobid.renderTag() found tag",n);var r=i.adm2;return e.write(r),void e.close()}c("nobid.renderTag() tag NOT FOUND *ERROR*",n)},window.addEventListener("message",(function(e){var n=""+e[e.message?"message":"data"];if("nbTagRenderer.requestAdMarkup|"===n.substring(0,"nbTagRenderer.requestAdMarkup|".length)){c("Prebid received nbTagRenderer.requestAdMarkup event");var t=n.substring(n.indexOf("|")+1);if(window.nobid&&window.nobid.bidResponses){var i=window.nobid.bidResponses[""+t];if(i&&i.adm2){var r=i.adm2;r&&e.source.postMessage("nbTagRenderer.renderAdInSafeFrame|"+r,"*")}}}}),!1);var l={code:s,gvlid:816,aliases:[{code:"duration",gvlid:674}],supportedMediaTypes:[d.b,d.d],isBidRequestValid:function(e){return c("isBidRequestValid",e),!!e.params.siteId},buildRequests:function(e,n){if(c("validBidRequests",e),!e||e.length<=0)c("Empty validBidRequests");else{var t=p(e,n);if(t){window.nobid.refreshCount++;var r,o,d=JSON.stringify(t).replace(/'|&|#/g,""),a=(r="https://ads.servenobid.com/",(o="function"==typeof i.getParameterByName&&Object(i.getParameterByName)("nobid-env"))?"beta"==o?r="https://beta.servenobid.com/":"dev"==o?r="//localhost:8282/":"qa"==o&&(r="https://qa-ads.nobid.com/"):r="https://ads.servenobid.com/",r+"adreq?cb="+Math.floor(11e3*Math.random())),s={};return function(e){var n=!0;return e&&e.gdprConsent&&e.gdprConsent.gdprApplies&&2===e.gdprConsent.apiVersion&&(n=!(!0!==Object(i.deepAccess)(e.gdprConsent,"vendorData.purpose.consents.1"))),n}(n)||(s={withCredentials:!1}),{method:"POST",url:a,data:d,bidderRequest:n,options:s}}}},interpretResponse:function(e,n){return c("interpretResponse -> serverResponse",e),c("interpretResponse -> bidRequest",n),b(e.body,n)},getUserSyncs:function(e,n,t,r){if(e.iframeEnabled){var o="";return t&&"string"==typeof t.consentString&&("boolean"==typeof t.gdprApplies?o+="?gdpr=".concat(Number(t.gdprApplies),"&gdpr_consent=").concat(t.consentString):o+="?gdpr_consent=".concat(t.consentString)),r&&(o.length>0?o+="&":o+="?",o+="usp_consent="+r),[{type:"iframe",url:"https://public.servenobid.com/sync.html"+o}]}if(e.pixelEnabled&&n.length>0){var d=[];return n[0].body.syncs&&n[0].body.syncs.length>0&&n[0].body.syncs.forEach((function(e){d.push({type:"image",url:e})})),d}return Object(i.logWarn)("-NoBid- Please enable iframe based user sync.",e),[]},onTimeout:function(e){return window.nobid.timeoutTotal++,c("Timeout total: "+window.nobid.timeoutTotal,e),window.nobid.timeoutTotal},onBidWon:function(e){return window.nobid.bidWonTotal++,c("BidWon total: "+window.nobid.bidWonTotal,e),window.nobid.bidWonTotal}};Object(o.registerBidder)(l),window.tmzr.installedModules.push("nobidBidAdapter")}},[701]);
tmzrChunk([44],{15:function(e,t,r){"use strict";t.b=function(e){var t=[];for(var r in e)if(e.hasOwnProperty(r))if("pubProvidedId"===r)t=t.concat(e.pubProvidedId);else{var n=o(e[r],r);n&&t.push(n)}return t},t.a=function(e){var t=[];return e.filter((function(e){return Object(n.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length})).forEach((function(e){Object.keys(e.idObj).forEach((function(r){Object(n.deepAccess)(e,"config.bidders")&&Array.isArray(e.config.bidders)&&Object(n.deepAccess)(i,r+".source")&&t.push({source:i[r].source,bidders:e.config.bidders})}))})),t};var n=r(0),i={trustpid:{source:"trustpid.com",atype:1,getValue:function(e){return e}},intentIqId:{source:"intentiq.com",atype:1},naveggId:{source:"navegg.com",atype:1},justId:{source:"justtag.com",atype:1},pubcid:{source:"pubcid.org",atype:1},tdid:{source:"adserver.org",atype:1,getUidExt:function(){return{rtiPartner:"TDID"}}},id5id:{getValue:function(e){return e.uid},source:"id5-sync.com",atype:1,getUidExt:function(e){if(e.ext)return e.ext}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var t=Object(n.pick)(e,["ibaOptout","ccpaOptout"]);if(Object.keys(t).length)return t}},idl_env:{source:"liveramp.com",atype:3},lipb:{getValue:function(e){return e.lipbid},source:"liveintent.com",atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},britepoolid:{source:"britepool.com",atype:3},dmdId:{source:"hcn.health",atype:3},lotamePanoramaId:{source:"crwdcntrl.net",atype:1},criteoId:{source:"criteo.com",atype:1},merkleId:{source:"merkleinc.com",atype:3,getValue:function(e){return e.id},getUidExt:function(e){return e&&e.keyID?{keyID:e.keyID}:void 0}},netId:{source:"netid.de",atype:1},IDP:{source:"zeotap.com",atype:1},hadronId:{source:"audigent.com",atype:1},haloId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},nextrollId:{source:"nextroll.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(e){return e.snowflake},source:"novatiq.com",atype:1},uid2:{source:"uidapi.com",atype:3,getValue:function(e){return e.id}},dapId:{source:"akamai.com",atype:1},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3},adtelligentId:{source:"adtelligent.com",atype:3},amxId:{source:"amxrtb.com",atype:1},publinkId:{source:"epsilon.com",atype:3},kpuid:{source:"kpuid.com",atype:3},imuid:{source:"intimatemerger.com",atype:1},connectId:{source:"yahoo.com",atype:3},qid:{source:"adquery.io",atype:1}};function o(e,t){var r=i[t];if(r&&e){var o={};o.source=r.source;var a=Object(n.isFn)(r.getValue)?r.getValue(e):e;if(Object(n.isStr)(a)){var d={id:a,atype:r.atype};if(Object(n.isFn)(r.getUidExt)){var c=r.getUidExt(e);c&&(d.ext=c)}if(o.uids=[d],Object(n.isFn)(r.getEidExt)){var s=r.getEidExt(e);s&&(o.ext=s)}return o}}return null}},709:function(e,t,r){e.exports=r(710)},710:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasTypeVideo=h,t.isValid=b,r.d(t,"spec",(function(){return x}));var n=r(2),i=r(19),o=r(13),a=r(11),d=r.n(a),c=r(7),s=r(1),u=r(15),p=r(0);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){m(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f="https://onetag-sys.com/usync/",y=Object(c.b)(241);function h(e){return void 0!==e.mediaTypes&&void 0!==e.mediaTypes.video}function b(e,t){if(e===n.b)return j(t).length>0;if(e===n.d&&h(t)){var r=t.mediaTypes.video.context;if("outstream"===r||"instream"===r)return w(t).length>0}return!1}function v(e){try{return void 0!==e.document.hidden?e.document.hidden:void 0!==e.document.msHidden?e.document.msHidden:void 0!==e.document.webkitHidden?e.document.webkitHidden:null}catch(e){return null}}function I(e){var t=e.params;this.adUnitCode=e.adUnitCode,this.bidId=e.bidId,this.bidderRequestId=e.bidderRequestId,this.auctionId=e.auctionId,this.transactionId=e.transactionId,this.pubId=t.pubId,this.ext=t.ext,t.pubClick&&(this.click=t.pubClick),t.dealId&&(this.dealId=t.dealId);var r=function(e){var t=document.getElementById(e);try{for(var r=t.getBoundingClientRect(),n=r.top,i=r.left,o=r.width,a=r.height,d=t.ownerDocument.defaultView,c={top:n+d.pageYOffset,left:i+d.pageXOffset,width:o,height:a},s=d.frameElement;null!=s;){var u=s.getBoundingClientRect(),p=u.top,l=u.left;c.top+=p+d.pageYOffset,c.left+=l+d.pageXOffset,s=(d=d.parent).frameElement}return c}catch(e){return null}}(e.adUnitCode);r&&(this.coords=r)}function O(){try{if(null!=window.performance&&null!=window.performance.timing){var e={},t=window.performance.timing;return e.pageLoadTime=t.loadEventEnd-t.navigationStart,e.connectTime=t.responseEnd-t.requestStart,e.renderTime=t.domComplete-t.domLoading,e}}catch(e){return null}return null}function w(e){var t=e.mediaTypes.video.playerSize;return void 0!==t&&Array.isArray(t)&&t.length>0?T(t):[]}function j(e){return void 0!==e.mediaTypes&&void 0!==e.mediaTypes.banner&&void 0!==e.mediaTypes.banner.sizes&&Array.isArray(e.mediaTypes.banner.sizes)&&e.mediaTypes.banner.sizes.length>0?T(e.mediaTypes.banner.sizes):!h(e)&&e.sizes&&Array.isArray(e.sizes)?T(e.sizes):[]}function T(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];t.push({width:n[0],height:n[1]})}return t}var x={code:"onetag",gvlid:241,supportedMediaTypes:[n.b,n.d],isBidRequestValid:function(e){return void 0!==e&&void 0!==e.params&&"string"==typeof e.params.pubId&&(b(n.b,e)||b(n.d,e))},buildRequests:function(e,t){var r,i,o,a,d,c,s=g({bids:(a=e,d=a.filter((function(e){return h(e)})).map((function(e){var t={};return I.call(t,e),t.context=e.mediaTypes.video.context,t.playerSize=w(e),t.mediaTypeInfo=Object(p.deepClone)(e.mediaTypes.video),t.type=n.d,t})),c=a.filter((function(e){return b(n.b,e)})).map((function(e){var t={};return I.call(t,e),t.sizes=j(e),t.type=n.b,t.mediaTypeInfo=Object(p.deepClone)(e.mediaTypes.banner),t})),d.concat(c))},(r=function(){var e=window,t=window.parent,r=0;try{for(;e!==e.parent;)(t=e.parent).location.href,e=e.parent}catch(n){r=t===e.top?1:2}return{topmostFrame:e,currentFrameNesting:r}}(),i=r.topmostFrame,o=r.currentFrameNesting,{location:i.location.href,referrer:""!==i.document.referrer?i.document.referrer:null,ancestorOrigin:window.location.ancestorOrigins&&window.location.ancestorOrigins.length>0?window.location.ancestorOrigins[window.location.ancestorOrigins.length-1]:null,masked:o,wWidth:i.innerWidth,wHeight:i.innerHeight,oWidth:i.outerWidth,oHeight:i.outerHeight,sWidth:i.screen.width,sHeight:i.screen.height,aWidth:i.screen.availWidth,aHeight:i.screen.availHeight,sLeft:"screenLeft"in i?i.screenLeft:i.screenX,sTop:"screenTop"in i?i.screenTop:i.screenY,xOffset:i.pageXOffset,yOffset:i.pageYOffset,docHidden:v(i),docHeight:i.document.body?i.document.body.scrollHeight:null,hLength:history.length,timing:O(),version:{prebid:"6.13.0",adapter:"1.1.0"}}));t&&t.gdprConsent&&(s.gdprConsent={consentString:t.gdprConsent.consentString,consentRequired:t.gdprConsent.gdprApplies}),t&&t.uspConsent&&(s.usPrivacy=t.uspConsent),e&&0!==e.length&&e[0].userId&&(s.userId=Object(u.b)(e[0].userId));try{y.hasLocalStorage()&&(s.onetagSid=y.getDataFromLocalStorage("onetag_sid"))}catch(e){}return{method:"POST",url:"https://onetag-sys.com/prebid-request",data:JSON.stringify(s)}},interpretResponse:function(e,t){var r=e.body,a=[],c=JSON.parse(t.data);return!r||r.nobid&&!0===r.nobid?a:r.bids&&Array.isArray(r.bids)&&0!==r.bids.length?(r.bids.forEach((function(e){var t={requestId:e.requestId,cpm:e.cpm,width:e.width,height:e.height,creativeId:e.creativeId,dealId:null==e.dealId?e.dealId:"",currency:e.currency,netRevenue:e.netRevenue||!1,mediaType:e.mediaType,meta:{mediaType:e.mediaType,advertiserDomains:e.adomain},ttl:e.ttl||300};if(e.mediaType===n.b)t.ad=e.ad;else if(e.mediaType===n.d){var r=d()(c.bids,(function(t){return t.bidId===e.requestId&&t.type===n.d})),s=r.context,u=r.adUnitCode;s===i.a?(t.vastUrl=e.vastUrl,t.videoCacheKey=e.videoCacheKey):s===i.b&&(t.vastXml=e.ad,t.vastUrl=e.vastUrl,e.rendererUrl&&(t.renderer=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=o.a.install({id:e.requestId,url:e.rendererUrl,config:t,adUnitCode:e.adUnitCode,loaded:!1});try{r.setRender((function(t){var r=t.renderer,n=t.width,i=t.height,o=t.vastXml,a=t.adUnitCode;r.push((function(){window.onetag.Player.init(g(g({},e),{},{width:n,height:i,vastXml:o,nodeId:a,config:r.getConfig()}))}))}))}catch(e){}return r}(g(g({},e),{},{adUnitCode:u}))))}a.push(t)})),a):a},getUserSyncs:function(e,t,r,n){var i=[],o="";return r&&("boolean"==typeof r.gdprApplies&&(o+="&gdpr="+(r.gdprApplies?1:0)),"string"==typeof r.consentString&&(o+="&gdpr_consent="+r.consentString)),n&&"string"==typeof n&&(o+="&us_privacy="+n),e.iframeEnabled&&i.push({type:"iframe",url:f+"?cb="+(new Date).getTime()+o}),e.pixelEnabled&&i.push({type:"image",url:f+"?tag=img"+o}),i}};Object(s.registerBidder)(x),window.tmzr.installedModules.push("onetagBidAdapter")}},[709]);
tmzrChunk([188],{719:function(e,t,n){e.exports=n(720)},720:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"USER_ID_CODE_TO_QUERY_ARG",(function(){return b})),n.d(t,"spec",(function(){return f}));var r=n(0),a=n(3),i=n(1),o=n(2),d=n(12),c=n.n(d);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,a,i=[],o=!0,d=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(e){d=!0,a=e}finally{try{o||null==n.return||n.return()}finally{if(d)throw a}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var m=[o.b,o.d],l=["startdelay","mimes","minduration","maxduration","startdelay","skippable","playbackmethod","api","protocols","boxingallowed","linearity","delivery","protocol","placement","minbitrate","maxbitrate"],b={britepoolid:"britepoolid",criteoId:"criteoid",fabrickId:"nuestarid",haloId:"audigentid",id5id:"id5id",idl_env:"lre",IDP:"zeotapid",idxId:"idxid",intentIqId:"intentiqid",lipb:"lipbid",lotamePanoramaId:"lotameid",merkleId:"merkleid",netId:"netid",parrableId:"parrableid",pubcid:"pubcid",quantcastId:"quantcastid",tapadId:"tapadid",tdid:"ttduuid",uid2:"uid2",flocId:"floc",admixerId:"admixerid",deepintentId:"deepintentid",dmdId:"dmdid",nextrollId:"nextrollid",novatiq:"novatiqid",mwOpenLinkId:"mwopenlinkid",dapId:"dapid",amxId:"amxid",kpuid:"kpuid",publinkId:"publinkid",naveggId:"naveggid",imuid:"imuid",adtelligentId:"adtelligentid"},f={code:"openx",gvlid:69,supportedMediaTypes:m,isBidRequestValid:function(e){var t=e.params.delDomain||e.params.platform;return Object(r.deepAccess)(e,"mediaTypes.banner")&&t?!!e.params.unit||Object(r.deepAccess)(e,"mediaTypes.banner.sizes.length")>0:!(!e.params.unit||!t)},buildRequests:function(e,t){if(0===e.length)return[];var n=[],i=u(function(e){return e.reduce((function(e,t){var n;return n=t,Object(r.deepAccess)(n,"mediaTypes.video")&&!Object(r.deepAccess)(n,"mediaTypes.banner")||n.mediaType===o.d?e[0].push(t):e[1].push(t),e}),[[],[]])}(e),2),d=i[0],s=i[1];return s.length>0&&n.push(function(e,t){var n=[],i=!1,d=v(e,t),c=Object(r._map)(e,(function(e){return e.params.unit}));d.aus=Object(r._map)(e,(function(e){return Object(r.parseSizesInput)(e.mediaTypes.banner.sizes).join(",")})).join("|"),d.divids=Object(r._map)(e,(function(e){return encodeURIComponent(e.adUnitCode)})).join(","),d.aucs=Object(r._map)(e,(function(e){var t=Object(r.deepAccess)(e,"ortb2Imp.ext.data.pbadslot");return encodeURIComponent(t||"")})).join(","),c.some((function(e){return e}))&&(d.auid=c.join(","));e.some((function(e){return e.params.doNotTrack}))&&(d.ns=1);(!0===a.b.getConfig("coppa")||e.some((function(e){return e.params.coppa})))&&(d.tfcd=1);e.forEach((function(e){if(e.params.customParams){var t=Object(r._map)(Object.keys(e.params.customParams),(function(t){return function(e,t){var n=t[e];Object(r.isArray)(n)&&(n=n.join(","));return(e.toLowerCase()+"="+n.toLowerCase()).replace("+",".").replace("/","_")}(t,e.params.customParams)})),a=window.btoa(t.join("&"));i=!0,n.push(a)}else n.push("")})),i&&(d.tps=n.join(","));return g(d,o.b,e),{method:"GET",url:d.ph?"https://u.openx.net/w/1.0/arj":"https://".concat(e[0].params.delDomain,"/w/1.0/arj"),data:d,payload:{bids:e,startTime:new Date}}}(s,t)),d.length>0&&d.forEach((function(e){n.push(function(e,t){var n=function(e,t){var n,a,i=Object(r.deepAccess)(e,"mediaTypes.video"),d=v([e],t),s=Object(r.deepAccess)(e,"params.video")||{},u=Object(r.deepAccess)(e,"mediaTypes.video.context"),p=Object(r.deepAccess)(e,"mediaTypes.video.playerSize");Object(r.isArray)(e.sizes)&&2===e.sizes.length&&!Object(r.isArray)(e.sizes[0])?(n=parseInt(e.sizes[0],10),a=parseInt(e.sizes[1],10)):Object(r.isArray)(e.sizes)&&Object(r.isArray)(e.sizes[0])&&2===e.sizes[0].length?(n=parseInt(e.sizes[0][0],10),a=parseInt(e.sizes[0][1],10)):Object(r.isArray)(p)&&2===p.length&&(n=parseInt(p[0],10),a=parseInt(p[1],10));var m={w:n,h:a},b=e.params.video||e.params.openrtb||{};b.openrtb&&(b=b.openrtb);Object(r.isArray)(b.imp)&&(b=b.imp[0].video);Object.keys(b).filter((function(e){return c()(l,e)})).forEach((function(e){return m[e]=b[e]})),Object.keys(i).filter((function(e){return c()(l,e)})).forEach((function(e){return m[e]=i[e]}));var f={imp:[{video:m}]};d.openrtb=JSON.stringify(f),d.auid=e.params.unit,d.vwd=n||s.vwd,d.vht=a||s.vht,"outstream"===u&&(d.vos="101");s.mimes&&(d.vmimes=s.mimes);e.params.test&&(d.vtest=1);var h=Object(r.deepAccess)(e,"ortb2Imp.ext.data.pbadslot");h&&(d.aucs=encodeURIComponent(h));return g(d,o.d,[e]),d}(e,t);return{method:"GET",url:n.ph?"https://u.openx.net/v/1.0/avjp":"https://".concat(e.params.delDomain,"/v/1.0/avjp"),data:n,payload:{bid:e,startTime:new Date}}}(e,t))})),n},interpretResponse:function(e,t){var n=e.body;return function(e){return/avjp$/.test(e.url)?o.d:o.b}(t)===o.d?function(e,t){var n=t.bid,a=(t.startTime,[]);if(void 0!==e&&""!==e.vastUrl&&e.pub_rev>0){var i=Object(r.parseUrl)(e.vastUrl).search||{},d={};d.requestId=n.bidId,e.deal_id&&(d.dealId=e.deal_id),d.ttl=300,d.netRevenue=!0,d.currency=e.currency,d.cpm=parseInt(e.pub_rev,10)/1e3,d.width=parseInt(e.width,10),d.height=parseInt(e.height,10),d.creativeId=e.adid,d.vastUrl=e.vastUrl,d.mediaType=o.d,e.ph=i.ph,e.colo=i.colo,e.ts=i.ts,a.push(d)}return a}(n,t.payload):function(e,t){for(var n=t.bids,r=(t.startTime,e.ads.ad),a=[],i=0;i<r.length;i++){var o=r[i],d=parseInt(o.idx,10),c={};if(c.requestId=n[d].bidId,o.pub_rev){c.cpm=Number(o.pub_rev)/1e3;var s=o.creative[0];s&&(c.width=s.width,c.height=s.height),c.creativeId=s.id,c.ad=o.html,o.deal_id&&(c.dealId=o.deal_id),c.ttl=300,c.netRevenue=!0,c.currency=o.currency,o.tbd&&(c.tbd=o.tbd),c.ts=o.ts,c.meta={},o.brand_id&&(c.meta.brandId=o.brand_id),o.adomain&&length(o.adomain)>0?c.meta.advertiserDomains=o.adomain:c.meta.advertiserDomains=[],o.adv_id&&(c.meta.dspid=o.adv_id),a.push(c)}}return a}(n,t.payload)},getUserSyncs:function(e,t,n,a){if(e.iframeEnabled||e.pixelEnabled)return[{type:e.iframeEnabled?"iframe":"image",url:Object(r.deepAccess)(t,"0.body.ads.pixels")||Object(r.deepAccess)(t,"0.body.pixels")||function(e,t){var n="https://u.openx.net/w/1.0/pd",r=[];e&&(r.push("gdpr="+(e.gdprApplies?1:0)),r.push("gdpr_consent="+encodeURIComponent(e.consentString||"")));t&&r.push("us_privacy="+encodeURIComponent(t));return"".concat(n).concat(r.length>0?"?"+r.join("&"):"")}(n,a)}]},transformBidParams:function(e,t){return Object(r.convertTypes)({unit:"string",customFloor:"number"},e)}};function h(e){var t,n,r,a=window,i=document,o=i.documentElement;if(e){try{a=window.top,i=window.top.document}catch(e){return}o=i.documentElement,r=i.body,t=a.innerWidth||o.clientWidth||r.clientWidth,n=a.innerHeight||o.clientHeight||r.clientHeight}else o=i.documentElement,t=a.innerWidth||o.clientWidth,n=a.innerHeight||o.clientHeight;return"".concat(t,"x").concat(n)}function v(e,t){var n,i=Object(r.inIframe)();n={ju:a.b.getConfig("pageUrl")||t.refererInfo.referer,ch:document.charSet||document.characterSet,res:"".concat(screen.width,"x").concat(screen.height,"x").concat(screen.colorDepth),ifr:i,tz:(new Date).getTimezoneOffset(),tws:h(i),be:1,bc:e[0].params.bc||"".concat("hb_pb","_").concat("3.0.3"),dddid:Object(r._map)(e,(function(e){return e.transactionId})).join(","),nocache:(new Date).getTime()};var o=y("ortb2.user.data");o.length>0&&(n.sm=o);var d,c,s,u,p,m=y("ortb2.site.content.data");if(m.length>0&&(n.scsm=m),e[0].params.platform&&(n.ph=e[0].params.platform),t.gdprConsent){var l=t.gdprConsent;void 0!==l.consentString&&(n.gdpr_consent=l.consentString),void 0!==l.gdprApplies&&(n.gdpr=l.gdprApplies?1:0),"iab"===a.b.getConfig("consentManagement.cmpApi")&&(n.x_gdpr_f=1)}return t&&t.uspConsent&&(n.us_privacy=t.uspConsent),Object(r.deepAccess)(e[0],"crumbs.pubcid")&&Object(r.deepSetValue)(e[0],"userId.pubcid",Object(r.deepAccess)(e[0],"crumbs.pubcid")),d=n,c=e[0].userId,Object(r._each)(c,(function(e,t){var n=b[t];if(b.hasOwnProperty(t))switch(t){case"merkleId":case"flocId":case"uid2":d[n]=e.id;break;case"lipb":if(d[n]=e.lipbid,Array.isArray(e.segments)&&e.segments.length>0){var r="liveintent:"+e.segments.join("|");d.sm="".concat(d.sm?d.sm+",":"").concat(r)}break;case"parrableId":d[n]=e.eid;break;case"id5id":d[n]=e.uid;break;case"novatiq":d[n]=e.snowflake;break;default:d[n]=e}})),n=d,e[0].schain&&(n.schain=(s=e[0].schain,"".concat(s.ver,",").concat(s.complete,"!").concat((u=s.nodes,p=["asi","sid","hp","rid","name","domain"],u.map((function(e){return p.map((function(t){return e[t]||""})).join(",")})).join("!"))))),n}function y(e){var t=a.b.getConfig(e);if(!Array.isArray(t)||!t.length)return"";var n=t.filter((function(e){return Array.isArray(e.segment)&&e.segment.length>0&&void 0!==e.name&&e.name.length>0})).reduce((function(e,t){var n="object"===s(t.ext)&&t.ext.segtax?"".concat(t.name,"/").concat(t.ext.segtax):t.name;return e[n]=(e[n]||[]).concat(t.segment.map((function(e){return e.id}))),e}),{});return Object.keys(n).map((function(e,t){return e+":"+n[e].join("|")})).join(",")}function g(e,t,n){var r=[],i=!1;n.forEach((function(e){var n=function(e,t){var n={},r=a.b.getConfig("currency.adServerCurrency")||"USD";"function"==typeof e.getFloor&&(n=e.getFloor({currency:r,mediaType:t,size:"*"}));var i=n.floor||e.params.customFloor||0;return Math.round(1e3*i)}(e,t);n?(r.push(n),i=!0):r.push(0)})),i&&(e.aumfs=r.join(","))}Object(i.registerBidder)(f),window.tmzr.installedModules.push("openxBidAdapter")}},[719]);
tmzrChunk([187],{721:function(e,r,t){e.exports=t(722)},722:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),t.d(r,"spec",(function(){return A}));var i=t(0),a=t(1),n=t(3),c=t(2),s=t(13),d=t(19);function o(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,r){if(!e)return;if("string"==typeof e)return u(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return u(e,r)}(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,c=!0,s=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return c=e.done,e},e:function(e){s=!0,n=e},f:function(){try{c||null==t.return||t.return()}finally{if(s)throw n}}}}function u(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,i=new Array(r);t<r;t++)i[t]=e[t];return i}var p="operaads",l="https://s.adx.opera.com/ortb/v2/",b="https://acdn.adnxs.com/video/outstream/ANOutstreamVideo.js",m="USD",g={SIZE:[300,250]},f={PROTOCOLS:[2,3,5,6],MIMES:["video/mp4"],PLAYBACK_METHODS:[1,2,3,4],DELIVERY:[1],API:[1,2,5],SIZE:[640,480]},O={ICON:1,MAIN:3},y={TITLE:1,IMAGE:2,ICON:3,BODY:4,SPONSORED:5,CTA:6},v={SPONSORED:1,DESC:2,CTA_TEXT:12},h={TITLE:90,BODY:140,SPONSORED:25,CTA:20},A={code:p,aliases:["opera"],supportedMediaTypes:[c.b,c.d,c.c],isBidRequestValid:function(e){return e?e.params?e.params.placementId?e.params.endpointId?!!e.params.publisherId||(Object(i.logWarn)(p,"bid.params.publisherId is required."),!1):(Object(i.logWarn)(p,"bid.params.endpointId is required."),!1):(Object(i.logWarn)(p,"bid.params.placementId is required."),!1):(Object(i.logWarn)(p,"bid.params is required."),!1):(Object(i.logWarn)(p,"Invalid bid,",e),!1)},buildRequests:function(e,r){return e.map((function(e){return function(e,r){var t=Object(i.deepAccess)(r,"refererInfo.referer"),a={id:r.auctionId,tmax:r.timeout||n.b.getConfig("bidderTimeout"),test:n.b.getConfig("debug")?1:0,imp:j(e),device:R(),site:{id:String(Object(i.deepAccess)(e,"params.publisherId")),domain:E(t),page:t,ref:window.self===window.top?document.referrer:""},at:1,bcat:w(e),cur:[m],regs:{coppa:n.b.getConfig("coppa")?1:0,ext:{}},user:{buyeruid:T(e)}},c=Object(i.deepAccess)(r,"gdprConsent");c&&c.gdprApplies&&(Object(i.deepSetValue)(a,"regs.ext.gdpr",1),Object(i.deepSetValue)(a,"user.ext.consent",c.consentString));var s=Object(i.deepAccess)(r,"uspConsent");s&&Object(i.deepSetValue)(a,"regs.ext.us_privacy",s);var d=Object(i.deepAccess)(e,"userIdAsEids",[]);d.length>0&&Object(i.deepSetValue)(a,"user.eids",d);return{method:"POST",url:l+String(Object(i.deepAccess)(e,"params.publisherId"))+"?ep="+String(Object(i.deepAccess)(e,"params.endpointId")),data:JSON.stringify(a),options:{contentType:"application/json",customHeaders:{"x-openrtb-version":2.5}},originalBidRequest:e}}(e,r)}))},interpretResponse:function(e,r){var t,a=[];return(t=e.body)&&t.seatbid&&Object(i.isArray)(t.seatbid)&&t.seatbid.forEach((function(e){e.bid&&Object(i.isArray)(e.bid)&&(a=e.bid.map((function(e){return function(e,r,t){var a,n=c.b;if(/VAST\s+version/.test(e.adm))n=c.d;else{var o;try{o=JSON.parse(e.adm)}catch(e){o=null}o&&Object(i.isPlainObject)(o.native)&&(n=c.c,a=o.native)}var u=t.cur||m,l=(parseFloat(e.price)||0).toFixed(2),g=Object(i.deepAccess)(e,"cat",[]),O={requestId:e.impid,cpm:l,currency:u,mediaType:n,ttl:300,creativeId:e.crid||e.id,netRevenue:true,nurl:e.nurl,lurl:e.lurl,meta:{mediaType:n,primaryCatId:g[0],secondaryCatIds:g.slice(1)}};e.adomain&&Object(i.isArray)(e.adomain)&&e.adomain.length>0&&(O.meta.advertiserDomains=e.adomain,O.meta.clickUrl=e.adomain[0]);switch(n){case c.d:var v=I(Object(i.deepAccess)(r,"mediaTypes.video.playerSize",f.SIZE))[0];O.vastXml=e.adm,O.width=e.w||v[0],O.height=e.h||v[1],Object(i.deepAccess)(r,"mediaTypes.video.context")===d.b&&(O.adResponse={content:O.vastXml,width:O.width,height:O.height,player_width:v[0],player_height:v[1]},O.renderer=function(e){var r=Object(i.deepAccess)(e,"renderer"),t=Object(i.deepAccess)(e,"mediaTypes.video.renderer"),a=b,n={},c=function(e){e.renderer.push((function(){window.ANOutstreamVideo.renderAd({sizes:[e.width,e.height],targetId:e.adUnitCode,adResponse:e.adResponse})}))};t?(a=t.url,n=t.options,c=t.render):r&&(a=r.url,n=r.options,c=r.render);var d=s.a.install({id:e.bidId,url:a,loaded:!1,config:n,adUnitCode:e.adUnitCode});try{d.setRender(c)}catch(e){Object(i.logError)(p,"Error calling setRender on renderer",e)}return d}(r));break;case c.c:O.native=function(e,r,t){var a={},n=Object(i.deepAccess)(e,"link.url");n&&Object(i.isStr)(n)&&(a.clickUrl=decodeURIComponent(n));var c,s=Object(i.deepAccess)(e,"link.clicktrackers");s&&Object(i.isArray)(s)&&(a.clickTrackers=s.filter(Boolean).map((function(e){return decodeURIComponent(e).replace(/\$\{AUCTION_PRICE\}/g,t).replace(/\$\{AUCTION_CURRENCY\}/g,r)})));e.imptrackers&&Object(i.isArray)(e.imptrackers)&&(a.impressionTrackers=e.imptrackers.filter(Boolean).map((function(e){return decodeURIComponent(e).replace(/\$\{AUCTION_PRICE\}/g,t).replace(/\$\{AUCTION_CURRENCY\}/g,r)})));e.jstracker&&Object(i.isStr)(e.jstracker)&&(a.javascriptTrackers=[e.jstracker]);(c=e.assets)&&Object(i.isArray)(c)&&c.forEach((function(e){switch(e.id){case y.TITLE:var r=Object(i.deepAccess)(e,"title.text");r&&(a.title=r);break;case y.IMAGE:e.img&&(a.image={url:decodeURIComponent(e.img.url),width:e.img.w,height:e.img.h});break;case y.ICON:e.img&&(a.icon={url:decodeURIComponent(e.img.url),width:e.img.w,height:e.img.h});break;case y.BODY:var t=Object(i.deepAccess)(e,"data.value");t&&(a.body=t);break;case y.SPONSORED:var n=Object(i.deepAccess)(e,"data.value");n&&(a.sponsoredBy=n);break;case y.CTA:var c=Object(i.deepAccess)(e,"data.value");c&&(a.cta=c)}}));return a}(a,u,l);break;default:O.ad=e.adm,O.width=e.w,O.height=e.h}return O}(e,r.originalBidRequest,t)})))})),a},getUserSyncs:function(e,r,t,a){if("iframeEnabled"in e&&e.iframeEnabled)return[{type:"iframe",url:"https://s.adx.opera.com/usersync/page"}];if("pixelEnabled"in e&&e.pixelEnabled){var n=Object(i.deepAccess)(r,"0.body.pixels");if(Array.isArray(n)){var c,s=[],d=o(n);try{for(d.s();!(c=d.n()).done;){var u=c.value;s.push({type:"image",url:u})}}catch(e){d.e(e)}finally{d.f()}return s}}return[]},onTimeout:function(e){},onBidWon:function(e){var r,t;e&&Object(i.isStr)(e.nurl)&&(Object.prototype.hasOwnProperty.call(e,"originalCpm")?(r=e.originalCpm,t=e.originalCurrency):(r=e.cpm,t=e.currency),Object(i.triggerPixel)(e.nurl.replace(/\$\{AUCTION_PRICE\}/g,r).replace(/\$\{AUCTION_CURRENCY\}/g,t)))},onSetTargeting:function(e){}};function j(e){var r,t,a,n,s,o=[],u={id:e.bidId,tagid:String(Object(i.deepAccess)(e,"params.placementId"))};if(a=Object(i.deepAccess)(e,"mediaTypes.banner"))t=I(a.sizes||g.SIZE)[0],u.banner={w:t[0],h:t[1],pos:0},r=c.b;else if(n=Object(i.deepAccess)(e,"mediaTypes.video"))t=I(n.playerSize||f.SIZE)[0],u.video={w:t[0],h:t[1],pos:0,mimes:n.mimes||f.MIMES,protocols:n.protocols||f.PROTOCOLS,startdelay:"number"==typeof n.startdelay?n.startdelay:0,skip:"number"==typeof n.skip?n.skip:0,playbackmethod:n.playbackmethod||f.PLAYBACK_METHODS,delivery:n.delivery||f.DELIVERY,api:n.api||f.API,placement:n.context===d.b?3:1},r=c.d;else if(s=Object(i.deepAccess)(e,"mediaTypes.native")){var p={native:{ver:"1.1",assets:C(e.nativeParams||s)}};u.native={ver:"1.1",request:JSON.stringify(p)},r=c.c}var l=function(e,r){var t=r.mediaType,a=void 0===t?"*":t,n=r.size,c=void 0===n?"*":n;if(Object(i.isFn)(e.getFloor)){var s=e.getFloor({currency:m,mediaType:a,size:c});if(Object(i.isPlainObject)(s)&&!isNaN(s.floor))return{currency:s.currency||m,floor:s.floor}}return{currency:m,floor:0}}(e,{mediaType:r||"*",size:t||"*"});return u.bidfloor=l.floor,u.bidfloorcur=l.currency,r&&o.push(u),o}function I(e){return 2!==e.length||Object(i.isArray)(e[0])?e:[e]}function C(e){var r=[];return e.title&&r.push({id:y.TITLE,required:e.title.required?1:0,title:{len:e.title.len||h.TITLE}}),e.image&&r.push({id:y.IMAGE,required:e.image.required?1:0,img:S(e.image,O.MAIN)}),e.icon&&r.push({id:y.ICON,required:e.icon.required?1:0,img:S(e.icon,O.ICON)}),e.sponsoredBy&&r.push({id:y.SPONSORED,required:e.sponsoredBy.required?1:0,data:{type:v.SPONSORED,len:e.sponsoredBy.len|h.SPONSORED}}),e.body&&r.push({id:y.BODY,required:e.body.required?1:0,data:{type:v.DESC,len:e.body.len||h.BODY}}),e.cta&&r.push({id:y.CTA,required:e.cta.required?1:0,data:{type:v.CTA_TEXT,len:e.cta.len||h.CTA}}),r}function S(e,r){var t={type:r};if(e.aspect_ratios){var i=e.aspect_ratios[0],a=i.min_width||100;t.wmin=a,t.hmin=a/i.ratio_width*i.ratio_height}if(e.sizes){var n=I(e.sizes)[0];t.w=n[0],t.h=n[1]}return t}function T(e){var r=Object(i.deepAccess)(e,"userId.sharedid.id");if(r)return r;for(var t=0,a=["pubcid","tdid"];t<a.length;t++){var n=a[t],c=Object(i.deepAccess)(e,"userId.".concat(n));if(c)return c}return Object(i.generateUUID)()}function E(e){var r;(r=n.b.getConfig("publisherDomain"))||(r=Object(i.parseUrl)(e).hostname);return r.replace(/^https?:\/\/([\w\-\.]+)(?::\d+)?/,"$1")}function w(e){var r=[],t=Object(i.deepAccess)(e,"params.bcat");return t&&(r=r.concat(t)),r}function R(){var e,r=n.b.getConfig("device")||{};return r.w=r.w||window.screen.width,r.h=r.h||window.screen.height,r.ua=r.ua||navigator.userAgent,r.language=r.language||((e=navigator.languages&&navigator.languages[0]||navigator.language||navigator.userLanguage)?e.split("-")[0]:"en"),r.dnt="number"==typeof r.dnt?r.dnt:Object(i.getDNT)()?1:0,r}Object(a.registerBidder)(A),window.tmzr.installedModules.push("operaadsBidAdapter")}},[721]);
tmzrChunk([183],{731:function(e,t,r){e.exports=r(732)},732:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r.d(t,"spec",(function(){return c}));var n=r(1),i=r(0),a=r(2),o="https://ssp.otm-r.com/adjson",d="RUB",c={code:"otm",url:o,supportedMediaTypes:[a.b],isBidRequestValid:function(e){return!!e.params.tid},buildRequests:function(e,t){Object(i.logInfo)("validBidRequests",e);var r=[],n=(new Date).getTimezoneOffset(),a="";return t&&t.refererInfo&&(a=t.refererInfo.referer),Object(i._each)(e,(function(e){var t=Object(i.getValue)(e.params,"domain")||"",c=Object(i.getValue)(e.params,"tid"),s=Object(i.getValue)(e.params,"currency")||d,u=Object(i.getBidIdParameter)("bidId",e),f=Object(i.getBidIdParameter)("transactionId",e),b=Object(i.getBidIdParameter)("auctionId",e),l=function(e){if(!Object(i.isFn)(e.getFloor))return e.params.bidfloor?e.params.bidfloor:0;var t=e.getFloor({currency:d,mediaType:"*",size:"*"});if(Object(i.isPlainObject)(t)&&!isNaN(t.floor)&&t.currency===d)return t.floor;return 0}(e);Object(i._each)(e.sizes,(function(e){var i=0,d=0;e.length&&"number"==typeof e[0]&&"number"==typeof e[1]&&(i=e[0],d=e[1]),r.push({method:"GET",url:o,data:{tz:n,w:i,h:d,domain:t,l:a,s:c,cur:s,bidid:u,transactionid:f,auctionid:b,bidfloor:l}})}))})),r},interpretResponse:function(e,t){Object(i.logInfo)("serverResponse",e.body);var r=e?e.body:{},n=[];try{if(0===r.length)return[];Object(i._each)(r,(function(e){e.ad&&n.push({requestId:e.bidid,cpm:e.cpm,width:e.w,height:e.h,creativeId:e.creativeid,currency:e.currency||"RUB",netRevenue:!0,ad:e.ad,ttl:e.ttl,transactionId:e.transactionid,meta:{advertiserDomains:e.adDomain?[e.adDomain]:[]}})}))}catch(e){Object(i.logError)(e)}return n}};Object(n.registerBidder)(c),window.tmzr.installedModules.push("otmBidAdapter")}},[731]);
tmzrChunk([182],{733:function(e,r,t){e.exports=t(734)},734:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),t.d(r,"spec",(function(){return l}));var n=t(1),i=t(2),a=t(0),s=t(4),o=t(3);function c(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,r){if(!e)return;if("string"==typeof e)return u(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return u(e,r)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}var d={0:"title",2:"icon",3:"image",5:"sponsoredBy",4:"body",1:"cta"},p={title:{id:0,name:"title"},icon:{id:2,type:1,name:"img"},image:{id:3,type:3,name:"img"},sponsoredBy:{id:5,name:"data",type:1},body:{id:4,name:"data",type:2},cta:{id:1,type:12,name:"data"}},l={code:"outbrain",gvlid:164,supportedMediaTypes:[i.c,i.b],isBidRequestValid:function(e){return!(!o.b.getConfig("outbrain.bidderUrl")||!Object(a.deepAccess)(e,"params.publisher.id")||!e.nativeParams&&!e.sizes)},buildRequests:function(e,r){var t=r.refererInfo.referer,n=navigator.userAgent,i=m(e,"params.test"),s=m(e,"params.publisher"),c=m(e,"params.bcat"),u=m(e,"params.badv"),d=m(e,"userIdAsEids"),p=o.b.getConfig("outbrain.bidderUrl"),l=r.timeout,f=e.map((function(e,r){e.netRevenue="net";var t={id:r+1+""};return e.params.tagid&&(t.tagid=e.params.tagid),e.nativeParams?t.native={request:JSON.stringify({assets:b(e)})}:t.banner={format:g(e.sizes)},t})),v={id:r.auctionId,site:{page:t,publisher:s},device:{ua:n},source:{fd:1},cur:["USD"],tmax:l,imp:f,bcat:c,badv:u,ext:{prebid:{channel:{name:"pbjs",version:"6.13.0"}}}};return i&&(v.is_debug=!!i,v.test=1),Object(a.deepAccess)(r,"gdprConsent.gdprApplies")&&(Object(a.deepSetValue)(v,"user.ext.consent",r.gdprConsent.consentString),Object(a.deepSetValue)(v,"regs.ext.gdpr",1&r.gdprConsent.gdprApplies)),r.uspConsent&&Object(a.deepSetValue)(v,"regs.ext.us_privacy",r.uspConsent),!0===o.b.getConfig("coppa")&&Object(a.deepSetValue)(v,"regs.coppa",1&o.b.getConfig("coppa")),d&&Object(a.deepSetValue)(v,"user.ext.eids",d),{method:"POST",url:p,data:JSON.stringify(v),bids:e}},interpretResponse:function(e,r){var t=r.bids;if(!e.body)return[];var n=e.body,a=n.seatbid,s=n.cur,o=f(a.map((function(e){return e.bid}))).reduce((function(e,r){return e[r.impid-1]=r,e}),[]);return t.map((function(e,r){var t=o[r];if(t){var n=e.nativeParams?i.c:i.b,a={requestId:e.bidId,cpm:t.price,creativeId:t.crid,ttl:360,netRevenue:"net"===e.netRevenue,currency:s,mediaType:n,nurl:t.nurl};return n===i.c?a.native=function(e){var r=JSON.parse(e.adm),t=r.assets,n=r.link,i=r.eventtrackers,a={clickUrl:n.url,clickTrackers:n.clicktrackers||void 0};t.forEach((function(e){var r=d[e.id],t=r&&e[p[r].name];t&&(a[r]=t.text||t.value||{url:t.url,width:t.w,height:t.h})})),i&&(a.impressionTrackers=[],i.forEach((function(e){if(1===e.event)switch(e.method){case 1:a.impressionTrackers.push(e.url);break;case 2:a.javascriptTrackers='<script src="'.concat(e.url,'"><\/script>')}})));return a}(t):(a.ad=t.adm,a.width=t.w,a.height=t.h),a.meta={},t.adomain&&t.adomain.length>0&&(a.meta.advertiserDomains=t.adomain),a}})).filter(Boolean)},getUserSyncs:function(e,r,t,n){var i=[],a=o.b.getConfig("outbrain.usersyncUrl"),s=[];return e.pixelEnabled&&a&&(t&&(s.push("gdpr="+(1&t.gdprApplies)),s.push("gdpr_consent="+encodeURIComponent(t.consentString||""))),n&&s.push("us_privacy="+encodeURIComponent(n)),i.push({type:"image",url:a+(s.length?"?"+s.join("&"):"")})),i},onBidWon:function(e){e.nurl&&Object(s.a)(Object(a.replaceAuctionPrice)(e.nurl,e.originalCpm))}};function m(e,r){for(var t,n=0;n<e.length;n++)if(t=Object(a.deepAccess)(e[n],r))return t}function f(e){var r;return(r=[]).concat.apply(r,c(e))}function b(e){return Object(a._map)(e.nativeParams,(function(e,r){var t=p[r],n={required:1&e.required};if(t){var i,a,s,o;n.id=t.id;var c=e.aspect_ratios;if(c&&c[0]&&(i=(c=c[0]).min_width||0,a=c.ratio_height*i/c.ratio_width|0),e.sizes){var u=f(e.sizes);s=u[0],o=u[1]}return n[t.name]={len:e.len,type:t.type,wmin:i,hmin:a,w:s,h:o},n}})).filter(Boolean)}function g(e){return Object(a.isArray)(e)?2!==e.length||Object(a.isArray)(e[0])?Object(a.isArray)(e[0])?e.map((function(e){return{w:parseInt(e[0],10),h:parseInt(e[1],10)}})):[]:[{w:parseInt(e[0],10),h:parseInt(e[1],10)}]:[]}Object(n.registerBidder)(l),window.tmzr.installedModules.push("outbrainBidAdapter")}},[733]);
tmzrChunk([175],{752:function(e,t,r){e.exports=r(753)},753:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r.d(t,"allowedFields",(function(){return D})),r.d(t,"_floorDataForAuction",(function(){return I})),r.d(t,"fieldMatchingFunctions",(function(){return M})),t.getFirstMatchingFloor=V,t.getBiddersCpmAdjustment=W,t.calculateAdjustedFloor=q,t.getFloor=_,t.getFloorsDataForAuction=H,t.getFloorDataFromAdUnits=J,t.updateAdUnitsForAuction=L,t.pickRandomModel=Y,t.createFloorsDataForAuction=K,t.continueAuction=Q,t.isFloorsDataValid=$,t.parseFloorData=ee,t.requestBidsHook=te,t.handleFetchResponse=oe,t.generateAndHandleFetch=ce,t.handleSetFloorsConfig=ae,t.addBidResponseHook=ie;var o=r(0),n=r(14),c=r(3),a=r(4),i=r(10),u=r.n(i),s=r(5),d=r.n(s),l=r(8),f=r(43),p=r(11),m=r.n(p),h=r(21),b=r(18),g=r(42),y=["modelGroups"];function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function j(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},c=Object.keys(e);for(o=0;o<c.length;o++)r=c[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(o=0;o<c.length;o++)r=c[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function v(){return(v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e}).apply(this,arguments)}function F(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function A(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?F(Object(r),!0).forEach((function(t){S(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):F(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function S(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var C,k="Price Floors",T=Object(a.b)(1e4),D=["gptSlot","adUnitCode","size","domain","mediaType"],R=!1,U=!1,w={},E=[],I={};function P(e,t){return Math.ceil((parseFloat(e)*Math.pow(10,t)).toFixed(1))/Math.pow(10,t)}function x(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=r.index,n=void 0===o?b.a.index:o;return(null==e?void 0:e.adUnitCode)||n.getAdUnit(t).code}var M={size:function(e,t){return Object(o.parseGPTSingleSizeArray)(t.size)||"*"},mediaType:function(e,t){return t.mediaType||"banner"},gptSlot:function(e,t){return function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).index,r=(void 0===t?b.a.index:t).getAdUnit({transactionId:e});return"gam"===Object(o.deepAccess)(r,"ortb2Imp.ext.data.adserver.name")&&r.ortb2Imp.ext.data.adserver.adslot}((e||t).transactionId)||Object(o.getGptSlotInfoForAdUnitCode)(x(e,t)).gptSlot},domain:function(e,t){return C||(r=Object(h.a)().referer,C=Object(o.parseUrl)(r,{noDecodeWholeURL:!0}).hostname);var r},adUnitCode:function(e,t){return x(e,t)}};function B(e,t,r){return e.reduce((function(e,o){var n=M[o](t,r)||"*";return e.push("*"===n?["*"]:[n.toLowerCase(),"*"]),e}),[])}function V(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=B(Object(o.deepAccess)(e,"schema.fields")||[],t,r);if(!n.length)return{matchingFloor:e.default};var c=n.map((function(e){return e[0]})).join("-"),a=Object(o.deepAccess)(e,"matchingInputs.".concat(c));if(a)return A({},a);var i=z(n,Object(o.deepAccess)(e,"schema.delimiter")||"|"),u=m()(i,(function(t){return e.values.hasOwnProperty(t)})),s={floorMin:e.floorMin||0,floorRuleValue:e.values[u]||e.default,matchingData:i[0],matchingRule:u};return s.matchingFloor=Math.max(s.floorMin,s.floorRuleValue),Object(o.deepSetValue)(e,"matchingInputs.".concat(c),A({},s)),s}function z(e,t){return e.reduce((function(e,r){var o=[];return e.map((function(e){r.map((function(r){o.push(e+t+r)}))})),o})).sort((function(e,t){return e.split("*").length-t.split("*").length}))}function W(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=g.a.get(e,"bidCpmAdjustment");return o?parseFloat(o(t,A(A({},r),{},{cpm:t}))):parseFloat(t)}function q(e,t){var r=Math.pow(10,10);return e*r/(t*r)*(e*r)/r}var G={banner:function(e){return Object(o.deepAccess)(e,"mediaTypes.banner.sizes")||[]},video:function(e){return Object(o.deepAccess)(e,"mediaTypes.video.playerSize")||[]},native:function(e){return Object(o.deepAccess)(e,"mediaTypes.native.image.sizes")?[Object(o.deepAccess)(e,"mediaTypes.native.image.sizes")]:[]}};function N(e,t){var r=Object.keys(e.mediaTypes||{});return"*"===t.mediaType&&1===r.length&&(t.mediaType=r[0]),"*"===t.size&&-1!==r.indexOf(t.mediaType)&&G[t.mediaType]&&1===G[t.mediaType](e).length&&(t.size=G[t.mediaType](e)[0]),t}function _(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{currency:"USD",mediaType:"*",size:"*"},t=this,r=I[t.auctionId];if(!r||r.skipped)return{};e=N(t,e);var c=V(r.data,A({},t),{mediaType:e.mediaType,size:e.size}),a=e.currency||r.data.currency;if(c.matchingFloor&&a!==r.data.currency)try{c.matchingFloor=Object(n.a)().convertCurrency(c.matchingFloor,r.data.currency,a)}catch(e){Object(o.logWarn)("".concat(k,": Unable to get currency conversion for getFloor for bidder ").concat(t.bidder,". You must have currency module enabled with defaultRates in your currency config")),a=r.data.currency}if(r.enforcement.bidAdjustment&&c.matchingFloor){var i=W(t.bidder,c.matchingFloor);c.matchingFloor=i?q(c.matchingFloor,i):c.matchingFloor}return c.matchingFloor?{floor:P(c.matchingFloor,4),currency:a}:{}}function H(e,t){var r=Object(o.deepClone)(e);return r.schema.delimiter=e.schema.delimiter||"|",r.values=function(e,t){var r=e.schema.fields,o=e.schema.delimiter,n=t&&-1===r.indexOf("adUnitCode")&&r.unshift("adUnitCode");return Object.keys(e.values).reduce((function(r,c){return r[(n?"".concat(t).concat(o).concat(c):c).toLowerCase()]=e.values[c],r}),{})}(r,t),r.currency=r.currency||"USD",r}function J(e){return e.reduce((function(e,t){if($(t.floors))if(e.values){var r=H(t.floors,t.code).values;v(e.values,r)}else(e=H(t.floors,t.code)).location="adUnit";return e}),{})}function L(e,t,r){e.forEach((function(e){e.bids.forEach((function(e){t.skipped?delete e.getFloor:e.getFloor=_,e.auctionId=r,e.floorData={skipped:t.skipped,skipRate:t.skipRate,floorMin:t.floorMin,modelVersion:Object(o.deepAccess)(t,"data.modelVersion"),modelWeight:Object(o.deepAccess)(t,"data.modelWeight"),modelTimestamp:Object(o.deepAccess)(t,"data.modelTimestamp"),location:Object(o.deepAccess)(t,"data.location","noData"),floorProvider:t.floorProvider,fetchStatus:w.fetchStatus}}))}))}function Y(e,t){for(var r=Math.floor(Math.random()*t+1),o=0;o<e.length;o++)if((r-=e[o].modelWeight)<=0)return e[o]}function K(e,t){var r=Object(o.deepClone)(w);if(2===Object(o.deepAccess)(r,"data.floorsSchemaVersion")){var n=r.data,c=n.modelGroups,a=j(n,y);r.data=v(a,Y(c,a.modelWeightSum))}var i=0===Object.keys(Object(o.deepAccess)(r,"data.values")||{}).length;if(r.data=i?J(e):H(r.data),0===Object.keys(Object(o.deepAccess)(r,"data.values")||{}).length)r.skipped=!0;else{var u=Object(o.getParameterByName)("pbjs_skipRate")||r.skipRate,s=100*Math.random()<parseFloat(u);r.skipped=s}return r.hasOwnProperty("floorMin")&&(r.data.floorMin=r.floorMin),L(e,r,t),r}function Q(e){e.hasExited||(E=E.filter((function(t){return t.timer!==e.timer})),e.reqBidsConfigObj.auctionId=e.reqBidsConfigObj.auctionId||Object(o.generateUUID)(),I[e.reqBidsConfigObj.auctionId]=K(e.reqBidsConfigObj.adUnits||Object(n.a)().adUnits,e.reqBidsConfigObj.auctionId),e.nextFn.apply(e.context,[e.reqBidsConfigObj]),e.hasExited=!0)}function X(e){return t=Object(o.deepAccess)(e,"schema.fields"),!!(Array.isArray(t)&&t.length>0&&t.every((function(e){return-1!==D.indexOf(e)}))||(Object(o.logError)("".concat(k,": Fields recieved do not match allowed fields")),0))&&(r=e,n=e.schema.fields.length,c=e.schema.delimiter||"|","object"===O(r.values)&&(r.values=Object.keys(r.values).reduce((function(e,t){return function(e,t,r,o){return"string"==typeof e&&e.split(o).length===r&&"number"==typeof t}(t,r.values[t],n,c)&&(e[t]=r.values[t]),e}),{}),Object.keys(r.values).length>0));var t,r,n,c}var Z={1:function(e){return X(e)},2:function(e){return!(!Array.isArray(e.modelGroups)||0===e.modelGroups.length)&&(e.modelWeightSum=0,e.modelGroups.every((function(t){return!("number"!=typeof t.modelWeight||!X(t))&&(e.modelWeightSum+=t.modelWeight,!0)})))}};function $(e){return"object"===O(e)&&(e.floorsSchemaVersion=e.floorsSchemaVersion||1,"function"!=typeof Z[e.floorsSchemaVersion]?(Object(o.logError)("".concat(k,": Unknown floorsSchemaVersion: "),e.floorsSchemaVersion),!1):Z[e.floorsSchemaVersion](e))}function ee(e,t){if(e&&"object"===O(e)&&$(e))return Object(o.logInfo)("".concat(k,": A ").concat(t," set the auction floor data set to "),e),A(A({},e),{},{location:t});Object(o.logError)("".concat(k,": The floors data did not contain correct values"),e)}function te(e,t){var r={reqBidsConfigObj:t,context:this,nextFn:e,haveExited:!1,timer:null};w.auctionDelay>0&&R?(r.timer=setTimeout((function(){Object(o.logWarn)("".concat(k,": Fetch attempt did not return in time for auction")),w.fetchStatus="timeout",Q(r)}),w.auctionDelay),E.push(r)):Q(r)}function re(){E.forEach((function(e){clearTimeout(e.timer),Q(e)})),E=[]}function oe(e){var t;R=!1,w.fetchStatus="success";try{t=JSON.parse(e)}catch(r){t=e}var r=ee(t,"fetch");r&&(w.data=r,w.skipRate=Object(o.isNumber)(r.skipRate)?r.skipRate:w.skipRate,w.floorProvider=r.floorProvider||w.floorProvider),re()}function ne(e){R=!1,w.fetchStatus="error",Object(o.logError)("".concat(k,": Fetch errored with: "),e),re()}function ce(e){e.url&&!R?"GET"!==(e.method||"GET")?Object(o.logError)("".concat(k,": 'GET' is the only request method supported at this time!")):(T(e.url,{success:oe,error:ne},null,{method:"GET"}),R=!0):R&&Object(o.logWarn)("".concat(k,": A fetch is already occuring. Skipping."))}function ae(e){(w=Object(o.pick)(e,["floorMin","enabled",function(e){return!1!==e},"auctionDelay",function(e){return e||0},"floorProvider",function(t){return Object(o.deepAccess)(e,"data.floorProvider",t)},"endpoint",function(e){return e||{}},"skipRate",function(){return isNaN(Object(o.deepAccess)(e,"data.skipRate"))?e.skipRate||0:e.data.skipRate},"enforcement",function(e){return Object(o.pick)(e||{},["enforceJS",function(e){return!1!==e},"enforcePBS",function(e){return!0===e},"floorDeals",function(e){return!0===e},"bidAdjustment",function(e){return!1!==e}])},"additionalSchemaFields",function(e){return"object"===O(e)&&Object.keys(e).length>0?(t=e,void Object.keys(t).forEach((function(e){-1===D.indexOf(e)&&"function"==typeof t[e]&&(D.push(e),M[e]=t[e])}))):void 0;var t},"data",function(e){return e&&ee(e,"setConfig")||w.data}])).enabled?(ce(w.endpoint),U||(u.a.on(d.a.EVENTS.AUCTION_END,(function(e){setTimeout((function(){return delete I[e.auctionId]}),3e3)})),Object(n.a)().requestBids.before(te,50),Object(l.a)("addBidResponse").before(ie,Object(o.debugTurnedOn)()?4:50),U=!0)):(Object(o.logInfo)("".concat(k,": Turning off module")),w={},I={},Object(l.a)("addBidResponse").getHooks({hook:ie}).remove(),Object(n.a)().requestBids.getHooks({hook:te}).remove(),U=!1)}function ie(e,t,r){var c=I[r.auctionId];if(!c||!r||c.skipped)return e.call(this,t,r);var a,i=b.a.index.getBidRequest(r),u=V(c.data,i,A(A({},r),{},{size:[r.width,r.height]}));if(!u.matchingFloor)return Object(o.logWarn)("".concat(k,": unable to determine a matching price floor for bidResponse"),r),e.call(this,t,r);var s=c.data.currency.toUpperCase(),l=r.currency||"USD";if(s===l.toUpperCase())a=r.cpm;else if(r.originalCurrency&&s===r.originalCurrency.toUpperCase())a=r.originalCpm;else try{a=Object(n.a)().convertCurrency(r.cpm,l.toUpperCase(),s)}catch(n){return Object(o.logError)("".concat(k,": Unable do get currency conversion for bidResponse to Floor Currency. Do you have Currency module enabled? ").concat(r)),e.call(this,t,r)}if(function(e,t,r,o){r.floorData={floorValue:t.matchingFloor,floorRule:t.matchingRule,floorRuleValue:t.floorRuleValue,floorCurrency:e.data.currency,cpmAfterAdjustments:o,enforcements:A({},e.enforcement),matchedFields:{}},e.data.schema.fields.forEach((function(o,n){var c=t.matchingData.split(e.data.schema.delimiter)[n];r.floorData.matchedFields[o]=c}))}(c,u,r,a=W(r.bidderCode,a,r)),function(e,t,r){var n=!1!==Object(o.deepAccess)(e,"enforcement.enforceJS"),c=!0===Object(o.deepAccess)(e,"enforcement.floorDeals")||!r.dealId,a=r.floorData.cpmAfterAdjustments<t.matchingFloor;return n&&a&&c}(c,u,r)){var p=Object(f.a)(d.a.STATUS.NO_BID,r.getIdentifiers());return v(p,Object(o.pick)(r,["floorData","width","height","mediaType","currency","originalCpm","originalCurrency","getCpmInNewCurrency"])),p.status=d.a.BID_STATUS.BID_REJECTED,p.cpm=0,Object(o.logWarn)("".concat(k,": ").concat(p.bidderCode,"'s Bid Response for ").concat(t," was rejected due to floor not met"),r),e.call(this,t,p)}return e.call(this,t,r)}c.b.getConfig("floors",(function(e){return ae(e.floors)})),window.tmzr.installedModules.push("priceFloors")}},[752]);
tmzrChunk([173],{756:function(e,t,n){e.exports=n(757)},757:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setStorageItem=h,t.getStorageItem=O,t.removeStorageItem=j,t.isPubcidEnabled=function(){return S.enabled},t.getExpInterval=function(){return S.interval},t.getPubcidConfig=function(){return S},t.requestBidHook=I,t.setCookie=U,t.getCookie=function(e){return s.getCookie(e)},t.setConfig=k,t.initPubcid=w;var o=n(0),r=n(3),a=n(10),i=n.n(a),l=n(5),c=n.n(l),u=n(7);function b(){return(b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var s=Object(u.b)(),f="_pubcid",p="_pubcid_optout",g=525600,v="PublisherCommonId",m="_exp",y="cookie",E="html5",S={enabled:!0,interval:g,typeEnabled:E,create:!0,extend:!0,pixelUrl:""};function h(e,t,n){try{if(void 0!==n&&null!=n){var r=new Date(Date.now()+60*n*1e3).toUTCString();s.setDataInLocalStorage(e+m,r)}s.setDataInLocalStorage(e,t)}catch(e){Object(o.logMessage)(e)}}function O(e){var t=null;try{var n=s.getDataFromLocalStorage(e+m);if(n)new Date(n).getTime()-Date.now()>0?t=s.getDataFromLocalStorage(e):j(e);else t=s.getDataFromLocalStorage(e)}catch(e){Object(o.logMessage)(e)}return t}function j(e){try{s.removeDataFromLocalStorage(e+m),s.removeDataFromLocalStorage(e)}catch(e){Object(o.logMessage)(e)}}function x(e,t){var n;return t||(t=S.typeEnabled),t===y?n=s.getCookie(e):t===E&&(n=O(e)),"undefined"===n||"null"===n?null:n}function C(e,t,n){e&&t&&(S.typeEnabled===y?U(e,t,n,"Lax"):S.typeEnabled===E&&h(e,t,n))}function D(e,t){if(!e)return!1;t=t||"";var n=Object(o.parseUrl)(e);n.search.id=encodeURIComponent("pubcid:"+t);var r=Object(o.buildUrl)(n);return i.a.on(c.a.EVENTS.AUCTION_END,(function e(){i.a.off(c.a.EVENTS.AUCTION_END,e),Object(o.triggerPixel)(r)})),!0}function I(e,t){var n=t.adUnits||tmzr.adUnits,r=null;return S.enabled&&S.typeEnabled?("object"===d(window[v])?(r=window[v].getId(),Object(o.logMessage)(v+": pubcid = "+r)):((r=x(f))?S.extend&&(D(S.pixelUrl,r)||C(f,r,S.interval)):(S.create&&(S.typeEnabled===E&&(r=x(f,y)),r||(r=Object(o.generateUUID)()),C(f,r,S.interval),r=x(f)),D(S.pixelUrl,r)),Object(o.logMessage)("pbjs: pubcid = "+r)),n&&r&&n.forEach((function(e){e.bids&&Object(o.isArray)(e.bids)&&e.bids.forEach((function(e){b(e,{crumbs:{pubcid:r}})}))})),e.call(this,t)):e.call(this,t)}function U(e,t,n,o){var r=new Date;r.setTime(r.getTime()+1e3*n*60),s.setCookie(e,t,r.toGMTString(),o)}function k(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.enable,n=e.expInterval,o=e.type,r=void 0===o?"html5,cookie":o,a=e.create,i=e.extend,l=e.pixelUrl;void 0!==t&&(S.enabled=t),void 0!==n&&(S.interval=parseInt(n,10)),isNaN(S.interval)&&(S.interval=g),void 0!==a&&(S.create=a),void 0!==i&&(S.extend=i),void 0!==l&&(S.pixelUrl=l),S.typeEnabled=null;for(var c=r.split(","),u=0;u<c.length;++u){var b=c[u].trim();if(b===y){if(s.cookiesAreEnabled()){S.typeEnabled=y;break}}else if(b===E&&s.hasLocalStorage()){S.typeEnabled=E;break}}}function w(){r.b.getConfig("pubcid",(function(e){return k(e.pubcid)})),s.cookiesAreEnabled()&&x(p,y)||s.hasLocalStorage()&&x(p,E)||tmzr.requestBids.before(I)}w(),window.tmzr.installedModules.push("pubCommonId")}},[756]);
tmzrChunk([169],{766:function(e,r,t){e.exports=t(767)},767:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.checkVideoPlacement=_,t.d(r,"spec",(function(){return X}));var a=t(0),i=t(1),n=t(2),s=t(3),o=t(13);function d(){return(d=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e}).apply(this,arguments)}function c(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,a)}return t}function p(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l="pubmatic",m="PubMatic: ",b="USD",g=void 0,f="https://pubmatic.bbvms.com/r/".concat("$RENDERER",".js"),h={kadpageurl:"",gender:"",yob:"",lat:"",lon:"",wiid:"",profId:"",verId:""},y="number",v="string",O="boolean",E="array",I={mimes:E,minduration:y,maxduration:y,startdelay:y,playbackmethod:E,api:E,protocols:E,w:y,h:y,battr:E,linearity:y,placement:y,minbitrate:y,maxbitrate:y,skip:y},w={TITLE:{ID:1,KEY:"title",TYPE:0},IMAGE:{ID:2,KEY:"image",TYPE:0},ICON:{ID:3,KEY:"icon",TYPE:0},SPONSOREDBY:{ID:4,KEY:"sponsoredBy",TYPE:1},BODY:{ID:5,KEY:"body",TYPE:2},CLICKURL:{ID:6,KEY:"clickUrl",TYPE:0},VIDEO:{ID:7,KEY:"video",TYPE:0},EXT:{ID:8,KEY:"ext",TYPE:0},DATA:{ID:9,KEY:"data",TYPE:0},LOGO:{ID:10,KEY:"logo",TYPE:0},SPONSORED:{ID:11,KEY:"sponsored",TYPE:1},DESC:{ID:12,KEY:"data",TYPE:2},RATING:{ID:13,KEY:"rating",TYPE:3},LIKES:{ID:14,KEY:"likes",TYPE:4},DOWNLOADS:{ID:15,KEY:"downloads",TYPE:5},PRICE:{ID:16,KEY:"price",TYPE:6},SALEPRICE:{ID:17,KEY:"saleprice",TYPE:7},PHONE:{ID:18,KEY:"phone",TYPE:8},ADDRESS:{ID:19,KEY:"address",TYPE:9},DESC2:{ID:20,KEY:"desc2",TYPE:10},DISPLAYURL:{ID:21,KEY:"displayurl",TYPE:11},CTA:{ID:22,KEY:"cta",TYPE:12}},j=1,P=2,T=3,S=[{id:w.SPONSOREDBY.ID,required:!0,data:{type:1}},{id:w.TITLE.ID,required:!0},{id:w.IMAGE.ID,required:!0}],D={1:"PMP",5:"PREF",6:"PMPG"},x=1,Y=2,k={bootstrapPlayer:function(e){var r={code:e.adUnitCode};if(e.vastXml?r.vastXml=e.vastXml:e.vastUrl&&(r.vastUrl=e.vastUrl),e.vastXml||e.vastUrl){for(var t,i=k.getRendererId("pubmatic",e.rendererCode),n=document.getElementById(e.adUnitCode),s=0;s<window.bluebillywig.renderers.length;s++)if(window.bluebillywig.renderers[s]._id===i){t=window.bluebillywig.renderers[s];break}t?t.bootstrap(r,n):Object(a.logWarn)("".concat(m,": Couldn't find a renderer with ").concat(i))}else Object(a.logWarn)("".concat(m,": No vastXml or vastUrl on bid, bailing..."))},newRenderer:function(e,r){var t=f.replace("$RENDERER",e),i=o.a.install({url:t,loaded:!1,adUnitCode:r});try{i.setRender(k.outstreamRender)}catch(e){Object(a.logWarn)("".concat(m,": Error tying to setRender on renderer"),e)}return i},outstreamRender:function(e){e.renderer.push((function(){k.bootstrapPlayer(e)}))},getRendererId:function(e,r){return"".concat(e,"-").concat(r)}},R=[n.b,n.d,n.c],A=0,C=!1,z={},K={};function N(e,r){if(!Object(a.isStr)(r))return r&&Object(a.logWarn)("PubMatic: Ignoring param key: "+e+", expects string-value, found "+u(r)),g;switch(e){case"pmzoneid":return r.split(",").slice(0,50).map((function(e){return e.trim()})).join();case"kadfloor":case"lat":case"lon":return parseFloat(r)||g;case"yob":return parseInt(r)||g;default:return r}}function M(e){var r;e.params.adUnit="",e.params.adUnitIndex="0",e.params.width=0,e.params.height=0,e.params.adSlot=(r=e.params.adSlot,Object(a.isStr)(r)?r.replace(/^\s+/g,"").replace(/\s+$/g,""):(r&&Object(a.logWarn)("pubmatic: adSlot must be a string. Ignoring adSlot"),""));var t=e.params.adSlot,i=t.split(":");if(t=i[0],2==i.length&&(e.params.adUnitIndex=i[1]),i=t.split("@"),e.params.adUnit=i[0],i.length>1){if(2!=(i=i[1].split("x")).length)return void Object(a.logWarn)("PubMatic: AdSlot Error: adSlot not in required format");e.params.width=parseInt(i[0],10),e.params.height=parseInt(i[1],10)}else if(e.hasOwnProperty("mediaTypes")&&e.mediaTypes.hasOwnProperty(n.b)&&e.mediaTypes.banner.hasOwnProperty("sizes")){for(var s=0,o=[];s<e.mediaTypes.banner.sizes.length;s++)2===e.mediaTypes.banner.sizes[s].length&&o.push(e.mediaTypes.banner.sizes[s]);e.mediaTypes.banner.sizes=o,e.mediaTypes.banner.sizes.length>=1&&(e.params.width=e.mediaTypes.banner.sizes[0][0],e.params.height=e.mediaTypes.banner.sizes[0][1],e.mediaTypes.banner.sizes=e.mediaTypes.banner.sizes.splice(1,e.mediaTypes.banner.sizes.length-1))}}function U(e,r,t){var i,n="Ignoring param key: "+e+", expects "+t+", found "+u(r);switch(t){case O:i=a.isBoolean;break;case y:i=a.isNumber;break;case v:i=a.isStr;break;case E:i=a.isArray}return i(r)?r:(Object(a.logWarn)(m+n),g)}function q(e,r){var t=e.KEY;return{id:e.ID,required:r[t].required?1:0,data:{type:e.TYPE,len:r[t].len,ext:r[t].ext}}}function L(e){var r={assets:[]};for(var t in e){if(e.hasOwnProperty(t)){var i={};if(!(r.assets&&r.assets.length>0&&r.assets.hasOwnProperty(t)))switch(t){case w.TITLE.KEY:e[t].len||e[t].length?i={id:w.TITLE.ID,required:e[t].required?1:0,title:{len:e[t].len||e[t].length,ext:e[t].ext}}:Object(a.logWarn)("PubMatic: Error: Title Length is required for native ad: "+JSON.stringify(e));break;case w.IMAGE.KEY:e[t].sizes&&e[t].sizes.length>0?i={id:w.IMAGE.ID,required:e[t].required?1:0,img:{type:T,w:e[t].w||e[t].width||(e[t].sizes?e[t].sizes[0]:g),h:e[t].h||e[t].height||(e[t].sizes?e[t].sizes[1]:g),wmin:e[t].wmin||e[t].minimumWidth||(e[t].minsizes?e[t].minsizes[0]:g),hmin:e[t].hmin||e[t].minimumHeight||(e[t].minsizes?e[t].minsizes[1]:g),mimes:e[t].mimes,ext:e[t].ext}}:Object(a.logWarn)("PubMatic: Error: Image sizes is required for native ad: "+JSON.stringify(e));break;case w.ICON.KEY:e[t].sizes&&e[t].sizes.length>0?i={id:w.ICON.ID,required:e[t].required?1:0,img:{type:j,w:e[t].w||e[t].width||(e[t].sizes?e[t].sizes[0]:g),h:e[t].h||e[t].height||(e[t].sizes?e[t].sizes[1]:g)}}:Object(a.logWarn)("PubMatic: Error: Icon sizes is required for native ad: "+JSON.stringify(e));break;case w.VIDEO.KEY:i={id:w.VIDEO.ID,required:e[t].required?1:0,video:{minduration:e[t].minduration,maxduration:e[t].maxduration,protocols:e[t].protocols,mimes:e[t].mimes,ext:e[t].ext}};break;case w.EXT.KEY:i={id:w.EXT.ID,required:e[t].required?1:0};break;case w.LOGO.KEY:i={id:w.LOGO.ID,required:e[t].required?1:0,img:{type:P,w:e[t].w||e[t].width||(e[t].sizes?e[t].sizes[0]:g),h:e[t].h||e[t].height||(e[t].sizes?e[t].sizes[1]:g)}};break;case w.SPONSOREDBY.KEY:case w.BODY.KEY:case w.RATING.KEY:case w.LIKES.KEY:case w.DOWNLOADS.KEY:case w.PRICE.KEY:case w.SALEPRICE.KEY:case w.PHONE.KEY:case w.ADDRESS.KEY:case w.DESC2.KEY:case w.DISPLAYURL.KEY:case w.CTA.KEY:i=q(K[t],e)}}i&&i.id&&(r.assets[r.assets.length]=i)}var n=S.length,s=0;return S.forEach((function(e){for(var t=r.assets.length,a=0;a<t;a++)if(e.id==r.assets[a].id){s++;break}})),C=n!=s,r}function W(e){var r,t=e.mediaTypes.banner.sizes,i=[];if(t!==g&&Object(a.isArray)(t)){if(r={},e.params.width||e.params.height)r.w=e.params.width,r.h=e.params.height;else{if(0===t.length)return r=g,Object(a.logWarn)("PubMatic: Error: mediaTypes.banner.size missing for adunit: "+e.params.adUnit+". Ignoring the banner impression in the adunit."),r;r.w=parseInt(t[0][0],10),r.h=parseInt(t[0][1],10),t=t.splice(1,t.length-1)}t.length>0&&(i=[],t.forEach((function(e){e.length>1&&i.push({w:e[0],h:e[1]})})),i.length>0&&(r.format=i)),r.pos=0,r.topframe=Object(a.inIframe)()?0:1}else Object(a.logWarn)("PubMatic: Error: mediaTypes.banner.size missing for adunit: "+e.params.adUnit+". Ignoring the banner impression in the adunit."),r=g;return r}function _(e,r){Object(a.deepAccess)(e,"placement")||Object(a.logWarn)("Video.Placement param missing for "+r)}function V(e){var r,t=Object(a.mergeDeep)(Object(a.deepAccess)(e.mediaTypes,"video"),e.params.video);if(t!==g){for(var i in r={},_(t,e.adUnitCode),I)t.hasOwnProperty(i)&&(r[i]=U(i,t[i],I[i]));Object(a.isArray)(e.mediaTypes.video.playerSize[0])?(r.w=parseInt(e.mediaTypes.video.playerSize[0][0],10),r.h=parseInt(e.mediaTypes.video.playerSize[0][1],10)):Object(a.isNumber)(e.mediaTypes.video.playerSize[0])&&(r.w=parseInt(e.mediaTypes.video.playerSize[0],10),r.h=parseInt(e.mediaTypes.video.playerSize[1],10))}else r=g,Object(a.logWarn)("PubMatic: Error: Video config params missing for adunit: "+e.params.adUnit+" with mediaType set as video. Ignoring video impression in the adunit.");return r}function B(e,r,t){var a=r.rtd&&r.rtd.jwplayer&&r.rtd.jwplayer.targeting||void 0,i="";if(void 0!==a&&""!==a&&a.hasOwnProperty("segments")){var n,s=a.segments.length;i+="jw-id="+a.content.id;for(var o=0;o<s;o++)i+="|jw-"+a.segments[o]+"=1";t?void 0===e.dctr||0==e.dctr.length?e.dctr=i:e.dctr+="|"+i:(n=e.ext)&&void 0===n.key_val?n.key_val=i:n.key_val+="|"+i}}function G(e,r){var t,i,o={},d={},l=e.hasOwnProperty("sizes")?e.sizes:[],f="",h=[];if(function(e,r){r.params.deals&&(Object(a.isArray)(r.params.deals)?r.params.deals.forEach((function(r){Object(a.isStr)(r)&&r.length>3?(e.pmp||(e.pmp={private_auction:0,deals:[]}),e.pmp.deals.push({id:r})):Object(a.logWarn)("PubMatic: Error: deal-id present in array bid.params.deals should be a strings with more than 3 charaters length, deal-id ignored: "+r)})):Object(a.logWarn)("PubMatic: Error: bid.params.deals should be an array of strings."))}(o={id:e.bidId,tagid:e.params.adUnit||void 0,bidfloor:N("kadfloor",e.params.kadfloor),secure:1,ext:{pmZoneId:N("pmzoneid",e.params.pmzoneid)},bidfloorcur:e.params.currency?N("currency",e.params.currency):b},e),function(e,r){var t,i="";if(r.params.dctr)if(i=r.params.dctr,Object(a.isStr)(i)&&i.length>0){var n=i.split("|");i="",n.forEach((function(e){i+=e.length>0?e.trim()+"|":""})),t=i.length,"|"===i.substring(t,t-1)&&(i=i.substring(0,t-1)),e.ext.key_val=i.trim()}else Object(a.logWarn)("PubMatic: Ignoring param : dctr with value : "+i+", expects string-value, found empty or non-string value")}(o,e),B(o,e),e.hasOwnProperty("mediaTypes"))for(f in e.mediaTypes)switch(f){case n.b:(t=W(e))!==g&&(o.banner=t);break;case n.c:d.request=JSON.stringify(L(e.nativeParams)),C?Object(a.logWarn)("PubMatic: Error: Error in Native adunit "+e.params.adUnit+". Ignoring the adunit. Refer to http://prebid.org/dev-docs/show-native-ads.html for more details."):o.native=d;break;case n.d:(i=V(e))!==g&&(o.video=i)}else t={pos:0,w:e.params.width,h:e.params.height,topframe:Object(a.inIframe)()?0:1},Object(a.isArray)(l)&&l.length>1&&((l=l.splice(1,l.length-1)).forEach((function(e){h.push({w:e[0],h:e[1]})})),t.format=h),o.banner=t;return function(e,r){var t=function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?c(Object(t),!0).forEach((function(r){p(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):c(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}({},Object(a.deepAccess)(r,"ortb2Imp.ext.data"));Object.keys(t).forEach((function(r){"pbadslot"===r?"string"==typeof t[r]&&t[r]&&Object(a.deepSetValue)(e,"ext.data.pbadslot",t[r]):"adserver"===r?["name","adslot"].forEach((function(r){var i=Object(a.deepAccess)(t,"adserver.".concat(r));"string"==typeof i&&i&&(Object(a.deepSetValue)(e,"ext.data.adserver.".concat(r.toLowerCase()),i),"adslot"===r&&Object(a.deepSetValue)(e,"ext.dfp_ad_unit_code",i))})):Object(a.deepSetValue)(e,"ext.data.".concat(r),t[r])}))}(o,e),function(e,r){var t=-1;"function"!=typeof r.getFloor||s.b.getConfig("pubmatic.disableFloors")||[n.b,n.d,n.c].forEach((function(i){if(e.hasOwnProperty(i)){var n=[];"banner"===i&&(e[i].w&&e[i].h&&n.push([e[i].w,e[i].h]),Object(a.isArray)(e[i].format)&&e[i].format.forEach((function(e){return n.push([e.w,e.h])}))),0===n.length&&n.push("*"),n.forEach((function(n){var s=r.getFloor({currency:e.bidfloorcur,mediaType:i,size:n});if(Object(a.logInfo)(m,"floor from floor module returned for mediatype:",i," and size:",n," is: currency",s.currency,"floor",s.floor),"object"===u(s)&&s.currency===e.bidfloorcur&&!isNaN(parseInt(s.floor))){var o=parseFloat(s.floor);Object(a.logInfo)(m,"floor from floor module:",o,"previous floor value",t,"Min:",Math.min(o,t)),t=-1===t?o:Math.min(o,t),Object(a.logInfo)(m,"new floor value:",t)}}))}}));e.bidfloor&&(Object(a.logInfo)(m,"floor from floor module:",t,"impObj.bidfloor",e.bidfloor,"Max:",Math.max(t,e.bidfloor)),t=Math.max(t,e.bidfloor));e.bidfloor=!isNaN(t)&&t>0?t:g,Object(a.logInfo)(m,"new impObj.bidfloor value:",e.bidfloor)}(o,e),o.hasOwnProperty(n.b)||o.hasOwnProperty(n.c)||o.hasOwnProperty(n.d)?o:g}function F(e,r){var t=null,i=Object(a.deepAccess)(e,"0.userId.flocId");if(i&&i.id)switch(r){case Y:t={id:"FLOC",name:"FLOC",ext:{ver:i.version},segment:[{id:i.id,name:"chrome.com",value:i.id.toString()}]};break;case x:default:t={source:"chrome.com",uids:[{atype:1,id:i.id,ext:{ver:i.version}}]}}return t}function J(e){return!0===Object(a.isArray)(e)&&e.length>0}Object(a._each)(w,(function(e){z[e.ID]=e.KEY})),Object(a._each)(w,(function(e){K[e.KEY]=e}));var X={code:l,gvlid:76,supportedMediaTypes:[n.b,n.d,n.c],aliases:[{code:"groupm",gvlid:98}],isBidRequestValid:function(e){if(e&&e.params){if(!Object(a.isStr)(e.params.publisherId))return Object(a.logWarn)("PubMatic: Error: publisherId is mandatory and cannot be numeric (wrap it in quotes in your config). Call to OpenBid will not be sent for ad unit: "+JSON.stringify(e)),!1;if(e.hasOwnProperty("mediaTypes")&&e.mediaTypes.hasOwnProperty(n.d)){var r=Object(a.deepAccess)(e.mediaTypes,"video.mimes"),t=Object(a.deepAccess)(e,"params.video.mimes");if(!1===J(r)&&!1===J(t))return Object(a.logWarn)("PubMatic: Error: For video ads, bid.mediaTypes.video.mimes OR bid.params.video.mimes should be present and must be a non-empty array. Call to OpenBid will not be sent for ad unit:"+JSON.stringify(e)),!1;if(!e.mediaTypes[n.d].hasOwnProperty("context"))return Object(a.logError)("".concat(m,": no context specified in bid. Rejecting bid: "),e),!1;if("outstream"===e.mediaTypes[n.d].context&&!Object(a.isStr)(e.params.outstreamAU)&&!e.hasOwnProperty("renderer")&&!e.mediaTypes[n.d].hasOwnProperty("renderer"))return e.mediaTypes.hasOwnProperty(n.b)||e.mediaTypes.hasOwnProperty(n.c)?(delete e.mediaTypes[n.d],Object(a.logWarn)("".concat(m,': for "outstream" bids either outstreamAU parameter must be provided or ad unit supplied renderer is required. Rejecting mediatype Video of bid: '),e),!0):(Object(a.logError)("".concat(m,': for "outstream" bids either outstreamAU parameter must be provided or ad unit supplied renderer is required. Rejecting bid: '),e),!1)}return!0}return!1},buildRequests:function(e,r){var t;r&&r.refererInfo&&(t=r.refererInfo);var i,o=function(e){return{pageURL:e&&e.referer?e.referer:window.location.href,refURL:window.document.referrer}}(t),c=function(e){return{id:""+(new Date).getTime(),at:1,cur:[b],imp:[],site:{page:e.pageURL,ref:e.refURL,publisher:{}},device:{ua:navigator.userAgent,js:1,dnt:"yes"==navigator.doNotTrack||"1"==navigator.doNotTrack||"1"==navigator.msDoNotTrack?1:0,h:screen.height,w:screen.width,language:navigator.language},user:{},ext:{}}}(o),p="",l=[],m=[];if(e.forEach((function(e){if((i=Object(a.deepClone)(e)).params.adSlot=i.params.adSlot||"",M(i),i.mediaTypes&&i.mediaTypes.hasOwnProperty("video")||i.params.hasOwnProperty("video"));else if(!(i.hasOwnProperty("mediaTypes")&&i.mediaTypes.hasOwnProperty(n.c)||0!==i.params.width||0!==i.params.height))return void Object(a.logWarn)("PubMatic: Skipping the non-standard adslot: ",i.params.adSlot,JSON.stringify(i));o.pubId=o.pubId||i.params.publisherId,(o=function(e,r){var t,i,n;for(t in r.kadpageurl||(r.kadpageurl=r.pageURL),h)h.hasOwnProperty(t)&&(i=e[t])&&("object"===u(n=h[t])&&(i=n.f(i,r)),Object(a.isStr)(i)?r[t]=i:Object(a.logWarn)("PubMatic: Ignoring param : "+t+" with value : "+h[t]+", expects string-value, found "+u(i)));return r}(i.params,o)).transactionId=i.transactionId,""===p?p=i.params.currency||g:i.params.hasOwnProperty("currency")&&p!==i.params.currency&&Object(a.logWarn)("PubMatic: Currency specifier ignored. Only one currency permitted."),i.params.currency=p,i.params.hasOwnProperty("dctr")&&Object(a.isStr)(i.params.dctr)&&l.push(i.params.dctr),i.params.hasOwnProperty("bcat")&&Object(a.isArray)(i.params.bcat)&&(m=m.concat(i.params.bcat));var r=G(i);r&&c.imp.push(r)})),0!=c.imp.length){var f,y;c.site.publisher.id=o.pubId.trim(),A=o.pubId.trim(),c.ext.wrapper={},c.ext.wrapper.profile=parseInt(o.profId)||g,c.ext.wrapper.version=parseInt(o.verId)||g,c.ext.wrapper.wiid=o.wiid||r.auctionId,c.ext.wrapper.wv="prebid_prebid_6.13.0",c.ext.wrapper.transactionId=o.transactionId,c.ext.wrapper.wp="pbjs",c.user.gender=o.gender?o.gender.trim():g,c.user.geo={},c.user.geo.lat=N("lat",o.lat),c.user.geo.lon=N("lon",o.lon),c.user.yob=N("yob",o.yob),c.device.geo=c.user.geo,c.site.page=o.kadpageurl.trim()||c.site.page.trim(),c.site.domain=(f=c.site.page,(y=document.createElement("a")).href=f,y.hostname),"object"===u(s.b.getConfig("content"))&&(c.site.content=s.b.getConfig("content")),"object"===u(s.b.getConfig("device"))&&(c.device=d(c.device,s.b.getConfig("device"))),Object(a.deepSetValue)(c,"source.tid",o.transactionId),-1!==window.location.href.indexOf("pubmaticTest=true")&&(c.test=1),e[0].schain&&Object(a.deepSetValue)(c,"source.ext.schain",e[0].schain),r&&r.gdprConsent&&(Object(a.deepSetValue)(c,"user.ext.consent",r.gdprConsent.consentString),Object(a.deepSetValue)(c,"regs.ext.gdpr",r.gdprConsent.gdprApplies?1:0)),r&&r.uspConsent&&Object(a.deepSetValue)(c,"regs.ext.us_privacy",r.uspConsent),!0===s.b.getConfig("coppa")&&Object(a.deepSetValue)(c,"regs.coppa",1),function(e,r){var t=Object(a.deepAccess)(r,"0.userIdAsEids"),i=F(r,x);i&&(t||(t=[]),t.push(i)),Object(a.isArray)(t)&&t.length>0&&Object(a.deepSetValue)(e,"user.eids",t)}(c,e),function(e,r){(r=r.filter((function(e){return"string"==typeof e||(Object(a.logWarn)("PubMatic: bcat: Each category should be a string, ignoring category: "+e),!1)})).map((function(e){return e.trim()})).filter((function(e,r,t){if(e.length>3)return t.indexOf(e)===r;Object(a.logWarn)("PubMatic: bcat: Each category should have a value of a length of more than 3 characters, ignoring category: "+e)}))).length>0&&(Object(a.logWarn)("PubMatic: bcat: Selected: ",r),e.bcat=r)}(c,m),function(e,r){var t=F(r,Y);t&&(e.user||(e.user={}),e.user.data||(e.user.data=[]),e.user.data.push(t))}(c,e);var v=s.b.getConfig("ortb2")||{};return v.site&&Object(a.mergeDeep)(c,{site:v.site}),v.user&&Object(a.mergeDeep)(c,{user:v.user}),"object"===u(s.b.getConfig("app"))&&(c.app=s.b.getConfig("app"),c.app.publisher=c.site.publisher,c.app.ext=c.site.ext||g,"object"!==u(c.app.content)&&(c.app.content=c.site.content||g),delete c.site),{method:"POST",url:"https://hbopenbid.pubmatic.com/translator?source=prebid-client",data:JSON.stringify(c),bidderRequest:r}}},interpretResponse:function(e,r){var t=[],i=b,s=JSON.parse(r.data),o=s.site&&s.site.ref?s.site.ref:"";try{e.body&&e.body.seatbid&&Object(a.isArray)(e.body.seatbid)&&(i=e.body.cur||i,e.body.seatbid.forEach((function(e){e.bid&&Object(a.isArray)(e.bid)&&e.bid.forEach((function(d){var c={requestId:d.impid,cpm:(parseFloat(d.price)||0).toFixed(2),width:d.w,height:d.h,creativeId:d.crid||d.id,dealId:d.dealid,currency:i,netRevenue:true,ttl:300,referrer:o,ad:d.adm,pm_seat:e.seat||null,pm_dspid:d.ext&&d.ext.dspid?d.ext.dspid:null,partnerImpId:d.id||""};s.imp&&s.imp.length>0&&s.imp.forEach((function(e){if(d.impid===e.id)switch(function(e,r){if(e.ext&&null!=e.ext.bidtype)r.mediaType=R[e.ext.bidtype];else{Object(a.logInfo)("PubMatic: bid.ext.bidtype does not exist, checking alternatively for mediaType");var t=e.adm,i="",s=new RegExp(/VAST\s+version/);if(t.indexOf('span class="PubAPIAd"')>=0)r.mediaType=n.b;else if(s.test(t))r.mediaType=n.d;else try{(i=JSON.parse(t.replace(/\\/g,"")))&&i.native&&(r.mediaType=n.c)}catch(e){Object(a.logWarn)("PubMatic: Error: Cannot parse native reponse for ad response: "+t)}}}(d,c),c.mediaType){case n.b:break;case n.d:c.width=d.hasOwnProperty("w")?d.w:e.video.w,c.height=d.hasOwnProperty("h")?d.h:e.video.h,c.vastXml=d.adm,function(e,r){var t,a,i;if(r.bidderRequest&&r.bidderRequest.bids){for(var s=0;s<r.bidderRequest.bids.length;s++)r.bidderRequest.bids[s].bidId===e.requestId&&(t=r.bidderRequest.bids[s].params,a=r.bidderRequest.bids[s].mediaTypes[n.d].context,i=r.bidderRequest.bids[s].adUnitCode);a&&"outstream"===a&&t&&t.outstreamAU&&i&&(e.rendererCode=t.outstreamAU,e.renderer=k.newRenderer(e.rendererCode,i))}}(c,r);break;case n.c:!function(e,r){if(r.native={},e.hasOwnProperty("adm")){var t="";try{t=JSON.parse(e.adm.replace(/\\/g,""))}catch(e){return void Object(a.logWarn)("PubMatic: Error: Cannot parse native reponse for ad response: "+r.adm)}if(t&&t.native&&t.native.assets&&t.native.assets.length>0){r.mediaType=n.c;for(var i=0,s=t.native.assets.length;i<s;i++)switch(t.native.assets[i].id){case w.TITLE.ID:r.native.title=t.native.assets[i].title&&t.native.assets[i].title.text;break;case w.IMAGE.ID:r.native.image={url:t.native.assets[i].img&&t.native.assets[i].img.url,height:t.native.assets[i].img&&t.native.assets[i].img.h,width:t.native.assets[i].img&&t.native.assets[i].img.w};break;case w.ICON.ID:r.native.icon={url:t.native.assets[i].img&&t.native.assets[i].img.url,height:t.native.assets[i].img&&t.native.assets[i].img.h,width:t.native.assets[i].img&&t.native.assets[i].img.w};break;case w.SPONSOREDBY.ID:case w.BODY.ID:case w.LIKES.ID:case w.DOWNLOADS.ID:case w.PRICE:case w.SALEPRICE.ID:case w.PHONE.ID:case w.ADDRESS.ID:case w.DESC2.ID:case w.CTA.ID:case w.RATING.ID:case w.DISPLAYURL.ID:r.native[z[t.native.assets[i].id]]=t.native.assets[i].data&&t.native.assets[i].data.value}r.native.clickUrl=t.native.link&&t.native.link.url,r.native.clickTrackers=t.native.link&&t.native.link.clicktrackers||[],r.native.impressionTrackers=t.native.imptrackers||[],r.native.jstracker=t.native.jstracker||[],r.width||(r.width=0),r.height||(r.height=0)}}}(d,c)}})),d.ext&&d.ext.deal_channel&&(c.dealChannel=D[d.ext.deal_channel]||null),c.meta={},d.ext&&d.ext.dspid&&(c.meta.networkId=d.ext.dspid),d.ext&&d.ext.advid&&(c.meta.buyerId=d.ext.advid),d.adomain&&d.adomain.length>0&&(c.meta.advertiserDomains=d.adomain,c.meta.clickUrl=d.adomain[0]),e.ext&&e.ext.buyid&&(c.adserverTargeting={hb_buyid_pubmatic:e.ext.buyid}),t.push(c)}))})))}catch(e){Object(a.logError)(e)}return t},getUserSyncs:function(e,r,t,a){var i=""+A;return t&&(i+="&gdpr="+(t.gdprApplies?1:0),i+="&gdpr_consent="+encodeURIComponent(t.consentString||"")),a&&(i+="&us_privacy="+encodeURIComponent(a)),!0===s.b.getConfig("coppa")&&(i+="&coppa=1"),e.iframeEnabled?[{type:"iframe",url:"https://ads.pubmatic.com/AdServer/js/user_sync.html?kdntuid=1&p="+i}]:[{type:"image",url:"https://image8.pubmatic.com/AdServer/ImgSync?p="+i}]},transformBidParams:function(e,r,t,i){return B(e,t.bids[0],!0),Object(a.convertTypes)({publisherId:"string",adSlot:"string"},e)}};Object(i.registerBidder)(X),window.tmzr.installedModules.push("pubmaticBidAdapter")}},[766]);
tmzrChunk([166],{782:function(e,r,t){e.exports=t(783)},783:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),t.d(r,"spec",(function(){return f}));var n=t(0),i=t(1),a=t(13);function d(){return(d=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var s=100,u=200,o=50,c=150,p=50,l="USD",m=["cp","ct","cf","video","battr","bcat","badv","bidfloor"],f={code:"pulsepoint",gvlid:81,aliases:["pulseLite","pulsepointLite"],supportedMediaTypes:["banner","native","video"],isBidRequestValid:function(e){return!!(e&&e.params&&e.params.cp&&e.params.ct)},buildRequests:function(e,r){return{method:"POST",url:"https://bid.contextweb.com/header/ortb?src=prebid",data:{id:e[0].bidderRequestId,imp:e.map((function(e){return function(e){return{id:e.bidId,banner:b(e),native:h(e),tagid:e.params.ct.toString(),video:v(e),bidfloor:R(e),ext:g(e)}}(e)})),site:w(e,r),app:j(e),device:{ua:navigator.userAgent,language:navigator.language||navigator.browserLanguage||navigator.userLanguage||navigator.systemLanguage},bcat:e[0].params.bcat,badv:e[0].params.badv,user:k(e[0],r),regs:x(r),source:P(e[0].schain)},bidderRequest:r}},interpretResponse:function(e,r){return function(e,r){var t={},i={},d={},s=r.body;e.data.imp.forEach((function(e){t[e.id]=e})),s&&s.seatbid.forEach((function(e){return e.bid.forEach((function(e){i[e.impid]=e}))}));e.bidderRequest&&e.bidderRequest.bids&&e.bidderRequest.bids.forEach((function(e){d[e.bidId]=e}));var u=[];return Object.keys(t).forEach((function(e){if(i[e]){var r={requestId:e,cpm:i[e].price,creative_id:i[e].crid,creativeId:i[e].crid,adId:e,ttl:i[e].exp||20,netRevenue:true,currency:s.cur||l,meta:{advertiserDomains:i[e].adomain||[]}};t[e].video?(d[e]&&"outstream"===Object(n.deepAccess)(d[e],"mediaTypes.video.context")&&(r.renderer=(o=Object(n.deepAccess)(d[e],"renderer.options"),c=Object(n.deepAccess)(i[e],"ext.outstream"),(p=a.a.install({url:c.rendererUrl,config:{defaultOptions:c.config,rendererOptions:o,type:c.type},loaded:!1})).setRender((function(e){e.renderer.push((function(){var r=e.renderer.getConfig();(new window.PulsePointOutstreamRenderer).render({adUnitCode:e.adUnitCode,vastXml:e.vastXml,type:r.type,defaultOptions:r.defaultOptions,rendererOptions:o})}))})),p)),r.vastXml=i[e].adm,r.mediaType="video",r.width=i[e].w,r.height=i[e].h):t[e].banner?(r.ad=i[e].adm,r.width=i[e].w||t[e].banner.w,r.height=i[e].h||t[e].banner.h):t[e].native&&(r.native=function(e,r){if(e.native){var t=function(e){try{if(e)return JSON.parse(e)}catch(e){Object(n.logError)("pulsepointLite.safeParse","ERROR",e)}return null}(r.adm),i={};if(t&&t.native&&t.native.assets)return t.native.assets.forEach((function(e){i.title=e.title?e.title.text:i.title,i.body=e.data&&2===e.data.type?e.data.value:i.body,i.sponsoredBy=e.data&&1===e.data.type?e.data.value:i.sponsoredBy,i.image=e.img&&3===e.img.type?e.img.url:i.image,i.icon=e.img&&1===e.img.type?e.img.url:i.icon})),t.native.link&&(i.clickUrl=encodeURIComponent(t.native.link.url)),i.impressionTrackers=t.native.imptrackers,i}return null}(t[e],i[e]),r.mediaType="native"),u.push(r)}var o,c,p})),u}(r,e)},getUserSyncs:function(e){return e.iframeEnabled?[{type:"iframe",url:"https://bh.contextweb.com/visitormatch"}]:e.pixelEnabled?[{type:"image",url:"https://bh.contextweb.com/visitormatch/prebid"}]:void 0},transformBidParams:function(e,r){return Object(n.convertTypes)({cf:"string",cp:"number",ct:"number"},e)}};function b(e){var r=function(e){var r=Object(n.deepAccess)(e,"mediaTypes.banner.sizes");if(r&&Object(n.isArray)(r))return r.filter((function(e){return Object(n.isArray)(e)&&2===e.length})).map((function(e){return{w:e[0],h:e[1]}}));return null}(e),t=function(e,r){if(e.params.cf){var t=e.params.cf.toUpperCase().split("X");return[parseInt(e.params.cw||t[0],10),parseInt(e.params.ch||t[1],10)]}if(r&&r.length>0)return[r[0].w,r[0].h];return[1,1]}(e,r);return e.mediaTypes&&e.mediaTypes.banner?{w:t[0],h:t[1],battr:e.params.battr,format:r}:null}function v(e){return e.params.video?d({},e.params.video,e.mediaTypes&&e.mediaTypes.video?e.mediaTypes.video:{},{battr:e.params.battr}):null}function g(e){var r={},t={};return m.forEach((function(e){return t[e]=1})),Object.keys(e.params).forEach((function(n){t[n]||(r[n]=e.params[n])})),Object.keys(r).length>0?{prebid:r}:null}function h(e){if(e.nativeParams){var r=[];return y(r,function(e,r,t){if(r)return{id:e,required:r.required?1:0,title:{len:r.len||t}};return null}(r.length+1,e.nativeParams.title,s)),y(r,O(r.length+1,e.nativeParams.body,2,u)),y(r,O(r.length+1,e.nativeParams.sponsoredBy,1,o)),y(r,I(r.length+1,e.nativeParams.icon,1,p,p)),y(r,I(r.length+1,e.nativeParams.image,3,c,c)),{request:JSON.stringify({assets:r}),ver:"1.1",battr:e.params.battr}}return null}function y(e,r){r&&e.push(r)}function I(e,r,t,n,i){return r?{id:e,required:r.required?1:0,img:{type:t,wmin:r.wmin||n,hmin:r.hmin||i}}:null}function O(e,r,t,n){return r?{id:e,required:r.required?1:0,data:{type:t,len:r.len||n}}:null}function w(e,r){var t=e&&e.length>0?e[0].params.cp:"0";return e[0].params.app?null:{publisher:{id:t.toString()},ref:T(),page:r&&r.refererInfo?r.refererInfo.referer:""}}function j(e){var r=e&&e.length>0?e[0].params.cp:"0",t=e[0].params.app;return t?{publisher:{id:r.toString()},bundle:t.bundle,storeurl:t.storeUrl,domain:t.domain}:null}function T(){try{return window.top.document.referrer}catch(e){return document.referrer}}function k(e,r){var t={};if(r&&r.gdprConsent&&(t.consent=r.gdprConsent.consentString),e&&e.userId){t.eids=[],q(t.eids,e.userId.pubcid,"pubcid.org"),q(t.eids,e.userId.britepoolid,"britepool.com"),q(t.eids,e.userId.criteoId,"criteo.com"),q(t.eids,e.userId.idl_env,"liveramp.com"),q(t.eids,Object(n.deepAccess)(e,"userId.id5id.uid"),"id5-sync.com",Object(n.deepAccess)(e,"userId.id5id.ext")),q(t.eids,Object(n.deepAccess)(e,"userId.parrableId.eid"),"parrable.com"),q(t.eids,e.userId.fabrickId,"neustar.biz"),q(t.eids,Object(n.deepAccess)(e,"userId.haloId.haloId"),"audigent.com"),q(t.eids,e.userId.merkleId,"merkleinc.com"),q(t.eids,e.userId.lotamePanoramaId,"crwdcntrl.net"),q(t.eids,e.userId.connectid,"verizonmedia.com"),q(t.eids,Object(n.deepAccess)(e,"userId.uid2.id"),"uidapi.com"),e.userId.lipb&&e.userId.lipb.lipbid&&q(t.eids,e.userId.lipb.lipbid,"liveintent.com"),q(t.eids,e.userId.tdid,"adserver.org",{rtiPartner:"TDID"});var i=e.userId.digitrustid;if(i&&i.data){var a={};i.data.id&&(a.id=i.data.id),i.data.keyv&&(a.keyv=i.data.keyv),t.digitrust=a}}return{ext:t}}function q(e,r,t,n){if(r){var i={id:r};n&&(i.ext=n),e.push({source:t,uids:[i]})}}function x(e){if(e.gdprConsent||e.uspConsent){var r={};return e.gdprConsent&&(r.gdpr=e.gdprConsent.gdprApplies?1:0),e.uspConsent&&(r.us_privacy=e.uspConsent),{ext:r}}return null}function P(e){return e?{ext:{schain:e}}:null}function R(e){var r=e.params.bidfloor;if(Object(n.isFn)(e.getFloor)){var t=e.getFloor({mediaType:e.mediaTypes.banner?"banner":e.mediaTypes.video?"video":"Native",size:"*",currency:l});t&&t.floor&&(r=t.floor)}return r}Object(i.registerBidder)(f),window.tmzr.installedModules.push("pulsepointBidAdapter")}},[782]);
tmzrChunk([163],{788:function(e,t,n){e.exports=n(789)},789:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"storage",(function(){return h})),t.firePixel=C,t.hasGDPRConsent=I,t.checkTCFv2=D,t.hasCCPAConsent=b,n.d(t,"quantcastIdSubmodule",(function(){return x}));var r=n(8),o=n(7),a=n(0),i=n(9),s="__qca",c=864e5,d="p-KceJUEvXN48CE",u="https://pixel.quantserve.com/pixel",p="11",l=["1","10"],f=["1"],g=["1"],v=i.gdprDataHandler.getConsentData(),m=i.uspDataHandler.getConsentData(),h=Object(o.b)();function C(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:392;if(!window._qevents&&e&&""!=e){var n,r,o=h.getCookie(s),i="0",p=x.findRootDomain(),l=new Date,f="";if(!o){var g=l.getTime(),C=new Date(g+t*c).toGMTString(),I=Math.round(2147483647*Math.random());o="B0-".concat(I,"-").concat(g),i="1",h.setCookie(s,o,C,"/",p,null)}n="&fpan=".concat(i,"&fpa=").concat(o),r="&gdpr=0",v&&"boolean"==typeof v.gdprApplies&&v.gdprApplies&&(r="gdpr=1&gdpr_consent=".concat(v.consentString)),m&&"string"==typeof m&&(f="&us_privacy=".concat(m));var D=u+"?d="+p+"&client_id="+e+"&a="+d+f+r+n;Object(a.triggerPixel)(D)}}function I(e){if(e&&"boolean"==typeof e.gdprApplies&&e.gdprApplies){if(!e.vendorData)return!1;if(1===e.apiVersion)return!1;if(2===e.apiVersion)return D(e.vendorData)}return!0}function D(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l,n=e.gdprApplies,r=e.purpose,o=e.vendor,a=o&&o.consents&&o.consents[11],i=o&&o.legitimateInterests&&o.legitimateInterests[11],s=e.publisher?e.publisher.restrictions:{};return!n||t.map((function(e){var t=!!r.consents&&r.consents[e],n=!!r.legitimateInterests&&r.legitimateInterests[e],o=s&&s[e]?s[e][11]:null;return 0!==o&&(!(!a||!t||2===o||-1==f.indexOf(e)&&1!==o)||!(1===o||!i||!n||-1!=g.indexOf(e)||-1!=f.indexOf(e)&&2!==o))})).reduce((function(e,t){return e&&t}),!0)}function b(e){return!e||"string"!=typeof e||4!=e.length||"Y"!=e.charAt(1)||"Y"!=e.charAt(2)}var x={name:"quantcastId",gvlid:p,decode:function(e){return e},getId:function(e){var t=h.getCookie(s);if(i.coppaDataHandler.getCoppa()||!b(m)||!I(v)){var n=new Date(0).toUTCString(),r=x.findRootDomain();return Object(a.logInfo)("QuantcastId: Necessary consent not present for Id, exiting QuantcastId"),void h.setCookie(s,"",n,"/",r,null)}var o=e&&e.params||{},c=e&&e.storage||{},d=o.clientId||"",u=c.expires||392;return"complete"===document.readyState?C(d,u):window.addEventListener("load",(function(){C(d,u)})),{id:t?{quantcastId:t}:void 0}}};Object(r.e)("userId",x),window.tmzr.installedModules.push("quantcastIdSystem")}},[788]);
tmzrChunk([153],{812:function(e,r,n){e.exports=n(813)},813:function(e,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),n.d(r,"spec",(function(){return u}));var i=n(0),t=n(1),a=n(3),d=n(2),o=n(13);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var c="",u={code:"richaudience",gvlid:108,aliases:["ra"],supportedMediaTypes:[d.b,d.d],isBidRequestValid:function(e){return!!(e.params&&e.params.pid&&e.params.supplyType)},buildRequests:function(e,r){return e.map((function(e){var n={bidfloor:v(e,a.b),ifa:e.params.ifa,pid:e.params.pid,supplyType:e.params.supplyType,currencyCode:a.b.getConfig("currency.adServerCurrency"),auctionId:e.auctionId,bidId:e.bidId,BidRequestsCount:e.bidRequestsCount,bidder:e.bidder,bidderRequestId:e.bidderRequestId,tagId:e.adUnitCode,sizes:p(e),referer:void 0!==r.refererInfo.referer?encodeURIComponent(r.refererInfo.referer):null,numIframes:void 0!==r.refererInfo.numIframes?r.refererInfo.numIframes:null,transactionId:e.transactionId,timeout:a.b.getConfig("bidderTimeout"),user:f(e),demand:l(e),videoData:m(e),scr_rsl:b(),cpuc:void 0!==window.navigator?window.navigator.hardwareConcurrency:null,kws:Object(i.isEmpty)(e.params.keywords)?null:e.params.keywords,schain:e.schain};c=void 0!==r.refererInfo.referer?encodeURIComponent(r.refererInfo.referer):null,n.gdpr_consent="",n.gdpr=!1,r&&r.gdprConsent&&(void 0!==r.gdprConsent.gdprApplies&&(n.gdpr=r.gdprConsent.gdprApplies),void 0!==r.gdprConsent.consentString&&(n.gdpr_consent=r.gdprConsent.consentString));return{method:"POST",url:"https://shb.richaudience.com/hb/",data:JSON.stringify(n)}}))},interpretResponse:function(e,r){var n=[],i=e.body;if(i){var t={requestId:JSON.parse(r.data).bidId,cpm:i.cpm,width:i.width,height:i.height,creativeId:i.creative_id,mediaType:i.media_type,netRevenue:i.netRevenue,currency:i.currency,ttl:i.ttl,meta:i.adomain,dealId:i.dealId};if("video"===i.media_type){t.vastXml=i.vastXML;try{null!=t.vastXml&&("outstream"!=JSON.parse(r.data).videoData.format&&"banner"!=JSON.parse(r.data).videoData.format||(t.renderer=o.a.install({id:r.bidId,adunitcode:r.tagId,loaded:!1,config:i.media_type,url:"https://cdn3.richaudience.com/prebidVideo/player.js"})),t.renderer.setRender(g))}catch(e){t.ad=i.adm}}else t.ad=i.adm;n.push(t)}return n},getUserSyncs:function(e,r,n){var i,t=[],d=Math.floor(9999999999*Math.random()),o="",s="";return i=function(e){try{var r=null,n={};return null!=e.getConfig("userSync").filterSettings&&void 0!==e.getConfig("userSync").filterSettings&&(null!=(r=e.getConfig("userSync").filterSettings).iframe&&void 0!==r.iframe&&(n.raiIframe="richaudience"==r.iframe.bidders||"*"==r.iframe.bidders?r.iframe.filter:"exclude"),null!=r.image&&void 0!==r.image&&(n.raiImage="richaudience"==r.image.bidders||"*"==r.image.bidders?r.image.filter:"exclude")),n}catch(e){return null}}(a.b),n&&"string"==typeof n.consentString&&void 0!==n.consentString&&(s="consentString=".concat(n.consentString)),e.iframeEnabled&&"exclude"!=i.raiIframe&&(o="https://sync.richaudience.com/dcf3528a0b8aa83634892d50e91c306e/?ord="+d,""!=s&&(o+="&".concat(s)),t.push({type:"iframe",url:o})),e.pixelEnabled&&null!=c&&0==t.length&&"exclude"!=i.raiImage&&(o="https://sync.richaudience.com/bf7c142f4339da0278e83698a02b0854/?referrer=".concat(c),""!=s&&(o+="&".concat(s)),t.push({type:"image",url:o})),t}};function p(e){var r;if(e.mediaTypes&&e.mediaTypes.banner&&e.mediaTypes.banner.sizes&&(r=e.mediaTypes.banner.sizes),null!=r)return r.map((function(e){return{w:e[0],h:e[1]}}))}function l(e){var r="display";return void 0!==e.sizes&&e.sizes.forEach((function(e){("1800"==e[0]&&"1000"==e[1]||"1"==e[0]&&"1"==e[1])&&(r="skin")})),null!=e.mediaTypes&&null!=e.mediaTypes.video&&(r="video"),r}function m(e){return"video"==l(e)?{format:e.mediaTypes.video.context,playerSize:e.mediaTypes.video.playerSize,mimes:e.mediaTypes.video.mimes}:{format:"banner"}}function f(e){var r=[];return e&&e.userId&&(y(e,r,"id5-sync.com",Object(i.deepAccess)(e,"userId.id5id.uid")),y(e,r,"pubcommon",Object(i.deepAccess)(e,"userId.pubcid")),y(e,r,"criteo.com",Object(i.deepAccess)(e,"userId.criteoId")),y(e,r,"liveramp.com",Object(i.deepAccess)(e,"userId.idl_env")),y(e,r,"liveintent.com",Object(i.deepAccess)(e,"userId.lipb.lipbid")),y(e,r,"adserver.org",Object(i.deepAccess)(e,"userId.tdid"))),r}function y(e,r,n,t){Object(i.isStr)(t)&&r.push({userId:t,source:n})}function g(e){e.renderer.push((function(){!function(e){var r="".concat(e.vastXml),n={config:null!=e.params[0].player?{end:null!=e.params[0].player.end?e.params[0].player.end:"close",init:null!=e.params[0].player.init?e.params[0].player.init:"close",skin:null!=e.params[0].player.skin?e.params[0].player.skin:"light"}:{end:"close",init:"close",skin:"light"},pid:e.params[0].pid,adUnit:e.adUnitCode};window.raParams(n,r,!0)}(e)}))}function b(){var e="";return void 0!==window.screen&&(e=window.screen.width+"x"+window.screen.height),e}function v(e,r){try{var n;if(null!=e.params.bidfloor)n=e.params.bidfloor;else if("function"==typeof e.getFloor){n=e.getFloor({currency:null!=r.getConfig("floors.data.currency")?r.getConfig("floors.data.currency"):"USD",mediaType:"object"==s(e.mediaTypes.banner)?"banner":"video",size:"*"}).floor}return n}catch(e){return 0}}Object(t.registerBidder)(u),window.tmzr.installedModules.push("richaudienceBidAdapter")}},[812]);
tmzrChunk([151],{820:function(e,r,t){e.exports=t(821)},821:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),t.d(r,"OPENRTB",(function(){return m})),t.d(r,"spec",(function(){return E}));var i=t(0),n=t(2),a=t(1),s=t(12),u=t.n(s);function d(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,i)}return t}function o(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?d(Object(t),!0).forEach((function(r){c(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):d(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function c(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var p=["prebid-eu","prebid-us","prebid-asia"],T=["USD"],l=[n.b,n.c],m={NATIVE:{IMAGE_TYPE:{ICON:1,MAIN:3},ASSET_ID:{TITLE:1,IMAGE:2,ICON:3,BODY:4,SPONSORED:5,CTA:6},DATA_ASSET_TYPE:{SPONSORED:1,DESC:2,CTA_TEXT:12}}},E={code:"rtbhouse",supportedMediaTypes:l,gvlid:16,isBidRequestValid:function(e){return!(!u()(p,e.params.region)||!e.params.publisherId)},buildRequests:function(e,r){var t,n,a={id:e[0].auctionId,imp:e.map((function(e){return function(e){var r={id:e.bidId,banner:f(e),native:I(e),tagid:e.adUnitCode.toString()},t=function(e){var r=[];"function"==typeof e.getFloor&&Object.keys(e.mediaTypes).forEach((function(t){u()(l,t)&&r.push(e.getFloor({currency:T[0],mediaType:t,size:e.sizes||"*"}).floor)}));return r.length>0?Math.max.apply(Math,r):parseFloat(e.params.bidfloor)}(e);t&&(r.bidfloor=t);return r}(e)})),site:A(e,r),cur:T,test:e[0].params.test||0,source:(t=e[0],n={tid:t.transactionId},n)};if(r&&r.gdprConsent&&r.gdprConsent.gdprApplies){var s=r.gdprConsent.consentString?r.gdprConsent.consentString.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,""):"",d=r.gdprConsent.gdprApplies?1:0;a.regs={ext:{gdpr:d}},a.user={ext:{consent:s}}}if(e[0].schain){var c=function(e){if(!e)return null;if(!function(e){if(!e.nodes)return!1;var r=["asi","sid","hp"];return e.nodes.every((function(e){return r.every((function(r){return e[r]}))}))}(e))return Object(i.logError)("RTB House: required schain params missing"),null;return e}(e[0].schain);c&&(a.ext={schain:c})}if(e[0].userIdAsEids){var p={eids:e[0].userIdAsEids};a.user&&a.user.ext?a.user.ext=o(o({},a.user.ext),p):a.user={ext:p}}return{method:"POST",url:"https://"+e[0].params.region+".creativecdn.com/bidder/prebid/bids",data:JSON.stringify(a)}},interpretResponse:function(e,r){var t=e.body;if(!Object(i.isArray)(t))return[];var a=[];return t.forEach((function(e){0!==e.price&&(0===e.adm.indexOf("{")?a.push(function(e){return{requestId:e.impid,mediaType:n.c,cpm:e.price,creativeId:e.adid,width:1,height:1,ttl:55,meta:{advertiserDomains:e.adomain},netRevenue:!0,currency:"USD",native:b(e.adm)}}(e)):a.push(function(e){return{requestId:e.impid,mediaType:n.b,cpm:e.price,creativeId:e.adid,ad:e.adm,width:e.w,height:e.h,ttl:55,meta:{advertiserDomains:e.adomain},netRevenue:!0,currency:"USD"}}(e)))})),a}};function f(e){if("banner"===e.mediaType||Object(i.deepAccess)(e,"mediaTypes.banner")||!e.mediaType&&!e.mediaTypes){var r=e.sizes||e.mediaTypes.banner.sizes;return{w:r[0][0],h:r[0][1],format:r.map((function(e){return{w:e[0],h:e[1]}}))}}}function A(e,r){var t="unknown",n=null;e&&e.length>0&&(t=e[0].params.publisherId,n=e[0].params.channel&&e[0].params.channel.toString().slice(0,50));var a={publisher:{id:t.toString()},page:r.refererInfo.referer,name:Object(i.getOrigin)()};return n&&(a.channel=n),a}function I(e){if("native"===e.mediaType||Object(i.deepAccess)(e,"mediaTypes.native"))return{request:{assets:h(e)},ver:"1.1"}}function h(e){var r=e.nativeParams||Object(i.deepAccess)(e,"mediaTypes.native"),t=[];return r.title&&t.push({id:m.NATIVE.ASSET_ID.TITLE,required:r.title.required?1:0,title:{len:r.title.len||25}}),r.image&&t.push({id:m.NATIVE.ASSET_ID.IMAGE,required:r.image.required?1:0,img:S(r.image,m.NATIVE.IMAGE_TYPE.MAIN)}),r.icon&&t.push({id:m.NATIVE.ASSET_ID.ICON,required:r.icon.required?1:0,img:S(r.icon,m.NATIVE.IMAGE_TYPE.ICON)}),r.sponsoredBy&&t.push({id:m.NATIVE.ASSET_ID.SPONSORED,required:r.sponsoredBy.required?1:0,data:{type:m.NATIVE.DATA_ASSET_TYPE.SPONSORED,len:r.sponsoredBy.len}}),r.body&&t.push({id:m.NATIVE.ASSET_ID.BODY,required:r.body.request?1:0,data:{type:m.NATIVE.DATA_ASSET_TYPE.DESC,len:r.body.len}}),r.cta&&t.push({id:m.NATIVE.ASSET_ID.CTA,required:r.cta.required?1:0,data:{type:m.NATIVE.DATA_ASSET_TYPE.CTA_TEXT,len:r.cta.len}}),t}function S(e,r){var t={type:r};if(e.aspect_ratios){var i=e.aspect_ratios[0],n=i.min_width||100;t.wmin=n,t.hmin=n/i.ratio_width*i.ratio_height}if(e.sizes){var a=Array.isArray(e.sizes[0])?e.sizes[0]:e.sizes;t.w=a[0],t.h=a[1]}return t}function b(e){var r=JSON.parse(e).native,t={clickUrl:encodeURIComponent(r.link.url),impressionTrackers:r.imptrackers};return r.assets.forEach((function(e){switch(e.id){case m.NATIVE.ASSET_ID.TITLE:t.title=e.title.text;break;case m.NATIVE.ASSET_ID.IMAGE:t.image={url:encodeURIComponent(e.img.url),width:e.img.w,height:e.img.h};break;case m.NATIVE.ASSET_ID.ICON:t.icon={url:encodeURIComponent(e.img.url),width:e.img.w,height:e.img.h};break;case m.NATIVE.ASSET_ID.BODY:t.body=e.data.value;break;case m.NATIVE.ASSET_ID.SPONSORED:t.sponsoredBy=e.data.value;break;case m.NATIVE.ASSET_ID.CTA:t.cta=e.data.value}})),t}Object(a.registerBidder)(E),window.tmzr.installedModules.push("rtbhouseBidAdapter")}},[820]);
tmzrChunk([149],{824:function(t,n,e){t.exports=e(825)},825:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),e.d(n,"subModules",(function(){return D})),n.attachRealTimeDataProvider=S,n.init=j,n.setBidRequestsData=P,n.getAdUnitTargeting=w,n.deepMerge=_;var r=e(3),o=e(8),a=e(0),i=e(10),u=e.n(i),c=e(5),f=e.n(c),l=e(9),s=e(11),d=e.n(s),g=e(14);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function y(){return(y=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t}).apply(this,arguments)}function v(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==e)return;var r,o,a=[],i=!0,u=!1;try{for(e=e.call(t);!(i=(r=e.next()).done)&&(a.push(r.value),!n||a.length!==n);i=!0);}catch(t){u=!0,o=t}finally{try{i||null==e.return||e.return()}finally{if(u)throw o}}return a}(t,n)||function(t,n){if(!t)return;if("string"==typeof t)return m(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return m(t,n)}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function b(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var h,E,T=[],D=[],O=[];function S(t){return T.push(t),function(){var n=T.indexOf(t);n>=0&&(T.splice(n,1),N())}}var A,I=(A=!1,function(){var t;A||(Object.entries((t={},b(t,f.a.EVENTS.AUCTION_INIT,["onAuctionInitEvent"]),b(t,f.a.EVENTS.AUCTION_END,["onAuctionEndEvent",w]),b(t,f.a.EVENTS.BID_RESPONSE,["onBidResponseEvent"]),b(t,f.a.EVENTS.BID_REQUESTED,["onBidRequestEvent"]),t)).forEach((function(t){var n=v(t,2),e=n[0],r=v(n[1],2),o=r[0],i=r[1];u.a.on(e,(function(t){i&&i(t),D.forEach((function(n){try{n[o]&&n[o](t,n.config,E)}catch(t){Object(a.logError)("RTD provider '".concat(n.name,"': error in '").concat(o,"':"),t)}}))}))})),A=!0)});function j(t){var n=t.getConfig("realTimeData",(function(t){var e=t.realTimeData;e.dataProviders?(n(),h=e,O=e.dataProviders,I(),Object(g.a)().requestBids.before(P,40),N()):Object(a.logError)("missing parameters for real time module")}))}function R(){return{gdpr:l.gdprDataHandler.getConsentData(),usp:l.uspDataHandler.getConsentData(),coppa:!!r.b.getConfig("coppa")}}function N(){E=R();var t=[];O.forEach((function(n){var e=d()(T,(function(t){return t.name===n.name}));e&&e.init&&e.init(n,E)&&t.push(y(e,{config:n}))})),D=t,Object(a.logInfo)("Real time data module enabled, using submodules: ".concat(D.map((function(t){return t.name})).join(", ")))}function P(t,n){E=R();var e=[],r=[];D.forEach((function(t){if("function"==typeof t.getBidRequestData){e.push(t);var n=t.config;n&&n.waitForIt&&r.push(t)}}));var o,a=r.length&&h.auctionDelay&&h.auctionDelay>0,i=r.length,u=!1;if(!e.length)return f();function c(){u||(this.config&&this.config.waitForIt&&i--,0===i&&setTimeout(f,0))}function f(){u||(u=!0,clearTimeout(o),t.call(this,n))}o=setTimeout(f,a?h.auctionDelay:0),e.forEach((function(t){t.getBidRequestData(n,c.bind(t),t.config,E)}))}function w(t){var n=D.filter((function(t){return"function"==typeof t.getTargetingData}));if(n.length){var e=t.adUnitCodes;if(e){for(var r=[],o=n.length-1;o>=0;o--){var i=n[o].getTargetingData(e,n[o].config,E);i&&"object"===p(i)?r.push(i):Object(a.logWarn)("invalid getTargetingData response for sub module",n[o].name)}var u=_(r);return t.adUnits.forEach((function(t){var n=t.code&&u[t.code];n&&(t[f.a.JSON_MAPPING.ADSERVER_TARGETING]=y(t[f.a.JSON_MAPPING.ADSERVER_TARGETING]||{},n))})),t.adUnits}}}function _(t){return Array.isArray(t)&&t.length?t.reduce((function(t,n){for(var e in n)if(n.hasOwnProperty(e))if(t.hasOwnProperty(e)){var r=n[e];for(var o in r)r.hasOwnProperty(o)&&(t[e][o]=r[o])}else t[e]=n[e];return t}),{}):{}}Object(o.c)("realTimeData",S),j(r.b),window.tmzr.installedModules.push("rtdModule")}},[824]);
tmzrChunk([28],{6:function(e,t,n){"use strict";t.a=function(e){var t,n=e.url,r=e.analyticsType,o=e.global,u=e.handler,S=[],k=0,w=!0;(function(){if(w){for(var e=0;e<S.length;e++)S[e]();S.push=function(e){e()},w=!1}Object(s.logMessage)("event count sent to ".concat(o,": ").concat(k))})();return{track:function(e){var t=e.eventType,n=e.args;this.getAdapterType()===U&&window[o](u,t,n);this.getAdapterType()===E&&R.apply(void 0,arguments)},enqueue:C,enableAnalytics:N,disableAnalytics:function(){Object(s._each)(t,(function(e,t){d.off(t,e)})),this.enableAnalytics=this._oldEnable?this._oldEnable:N},getAdapterType:function(){return r},getGlobal:function(){return o},getHandler:function(){return u},getUrl:function(){return n}};function R(e){var t=e.eventType,r=e.args,o=e.callback;Object(i.a)(n,o,JSON.stringify({eventType:t,args:r}))}function C(e){var t=e.eventType,n=e.args,r=this;o&&window[o]&&t&&n?this.track({eventType:t,args:n}):S.push((function(){k++,r.track({eventType:t,args:n})}))}function N(e){var n,r=this,i=this;"object"!==c(e)||"object"!==c(e.options)||(void 0===e.options.sampling||Math.random()<parseFloat(e.options.sampling))?(d.getEvents().forEach((function(e){if(e){var t=e.eventType,n=e.args;t!==m&&C.call(i,{eventType:t,args:n})}})),a(n={},b,(function(e){return r.enqueue({eventType:b,args:e})})),a(n,f,(function(e){return r.enqueue({eventType:f,args:e})})),a(n,g,(function(e){return r.enqueue({eventType:g,args:e})})),a(n,y,(function(e){return r.enqueue({eventType:y,args:e})})),a(n,m,(function(e){return r.enqueue({eventType:m,args:e})})),a(n,v,(function(e){return r.enqueue({eventType:v,args:e})})),a(n,O,(function(e){return r.enqueue({eventType:O,args:e})})),a(n,I,(function(e){return r.enqueue({eventType:I,args:e})})),a(n,j,(function(e){return r.enqueue({eventType:j,args:e})})),a(n,p,(function(e){return r.enqueue({eventType:p,args:e})})),a(n,A,(function(e){return r.enqueue({eventType:A,args:e})})),a(n,D,(function(e){return r.enqueue({eventType:D,args:e})})),a(n,h,(function(e){return r.enqueue({eventType:h,args:e})})),a(n,T,(function(e){return r.enqueue({eventType:T,args:e})})),a(n,l,(function(t){t.config="object"===c(e)&&e.options||{},r.enqueue({eventType:l,args:t})})),t=n,Object(s._each)(t,(function(e,t){d.on(t,e)}))):Object(s.logMessage)('Analytics adapter for "'.concat(o,'" disabled by sampling'));this._oldEnable=this.enableAnalytics,this.enableAnalytics=function(){return Object(s.logMessage)('Analytics adapter for "'.concat(o,'" already enabled, unnecessary call to `enableAnalytics`.'))}}};var r=n(5),o=n.n(r),i=n(4),s=n(0);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var d=n(10),u=o.a.EVENTS,l=u.AUCTION_INIT,p=u.AUCTION_END,b=u.REQUEST_BIDS,f=u.BID_REQUESTED,m=u.BID_TIMEOUT,g=u.BID_RESPONSE,y=u.NO_BID,v=u.BID_WON,O=u.BID_ADJUSTMENT,I=u.BIDDER_DONE,j=u.SET_TARGETING,A=u.AD_RENDER_FAILED,D=u.AD_RENDER_SUCCEEDED,h=u.AUCTION_DEBUG,T=u.ADD_AD_UNITS,E="endpoint",U="bundle"},826:function(e,t,n){e.exports=n(827)},827:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"storage",(function(){return v})),n.d(t,"SEND_TIMEOUT",(function(){return q})),n.d(t,"rubiConf",(function(){return B})),t.getHostNameFromReferer=F,t.parseBidResponse=G;var r=n(0),o=n(6),i=n(9),s=n(5),a=n.n(s),c=n(4),d=n(3),u=n(14),l=n(7);function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(){return(g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var y,v=Object(l.b)(52,"rubicon"),O="rpaSession",I={1:"timeout-error",2:"input-error",3:"connect-error",4:"request-error",999:"generic-error"},j=Object(u.a)(),A=a.a.EVENTS,D=A.AUCTION_INIT,h=A.AUCTION_END,T=A.BID_REQUESTED,E=A.BID_RESPONSE,U=A.BIDDER_DONE,S=A.BID_TIMEOUT,k=A.BID_WON,w=A.SET_TARGETING,R=a.a.STATUS,C=R.GOOD,N=R.NO_BID,_=a.a.BID_STATUS.BID_REJECTED;d.b.getConfig("s2sConfig",(function(e){var t=e.s2sConfig;y=t}));var q=3e3,M={auctions:{},targeting:{},timeouts:{},gpt:{}},B={pvid:Object(r.generateUUID)().slice(0,8),analyticsEventDelay:0};function F(e){try{$.referrerHostname=Object(r.parseUrl)(e,{noDecodeWholeURL:!0}).hostname}catch(t){Object(r.logError)("Rubicon Analytics: Unable to parse hostname from supplied url: ",e,t),$.referrerHostname=""}return $.referrerHostname}function L(e){return Object.keys(e).reduce((function(t,n){var r=e[n];return"number"==typeof r?r=r.toFixed(3):"string"!=typeof r&&(r=String(r)),t[n]=r||void 0,t}),{})}function P(e){return{width:e.w||e[0],height:e.h||e[1]}}function W(e){return-1!==["banner","native","video"].indexOf(e)}function x(e){return void 0===e?e="client":"s2s"===e&&(e="server"),e.toLowerCase()}function H(e,t,n){function o(e){return Object(r.pick)(e,["bidder","bidderDetail","bidId",function(t){return Object(r.deepAccess)(e,"bidResponse.pbsBidId")||Object(r.deepAccess)(e,"bidResponse.seatBidId")||t},"status","error","source",function(e,t){return e||(y&&Array.isArray(y.bidders)&&-1!==y.bidders.some((function(e){return e.toLowerCase()===t.bidder}))?"server":"client")},"clientLatencyMillis","serverLatencyMillis","params","bidResponse",function(e){return e?Object(r.pick)(e,["bidPriceUSD","dealId","dimensions","mediaType","floorValue","floorRuleValue","floorRule","adomains"]):void 0}])}function i(e){return g(o(e),Object(r.pick)(e.adUnit,["adUnitCode","transactionId","videoAdFormat",function(){return e.videoAdFormat},"mediaTypes"]),{adserverTargeting:Object(r.isEmpty)(M.targeting[e.adUnit.adUnitCode])?void 0:L(M.targeting[e.adUnit.adUnitCode]),bidwonStatus:"success",accountId:J,siteId:e.siteId,zoneId:e.zoneId,samplingFactor:Q})}var s=M.auctions[e],a=d.b.getConfig("pageUrl")||s&&s.referrer,u={timestamps:{prebidLoaded:$.MODULE_INITIALIZED_TIME,auctionEnded:s.endTs,eventTime:Date.now()},trigger:n,integration:B.int_type||"pbjs",version:"6.13.0",referrerUri:a,referrerHostname:$.referrerHostname||F(a),channel:"web"};if(B.wrapperName&&(u.wrapper={name:B.wrapperName,family:B.wrapperFamily,rule:B.rule_name}),s&&!s.sent){var l=Object.keys(s.bids).reduce((function(e,t){var n=s.bids[t],i=e[n.adUnit.adUnitCode];i||((i=e[n.adUnit.adUnitCode]=Object(r.pick)(n.adUnit,["adUnitCode","transactionId","mediaTypes","dimensions","adserverTargeting",function(){return Object(r.isEmpty)(M.targeting[n.adUnit.adUnitCode])?void 0:L(M.targeting[n.adUnit.adUnitCode])},"gam",function(e){return Object(r.isEmpty)(e)?void 0:e},"pbAdSlot","pattern"])).bids=[],i.status="no-bid"),i.siteId&&i.zoneId||-1===Z.indexOf(n.bidder)||Object(r.deepAccess)(n,"params.accountId")==J&&(i.accountId=parseInt(J),i.siteId=parseInt(Object(r.deepAccess)(n,"params.siteId")),i.zoneId=parseInt(Object(r.deepAccess)(n,"params.zoneId"))),n.videoAdFormat&&!i.videoAdFormat&&(i.videoAdFormat=n.videoAdFormat);var a=["error","no-bid","success"];return a.indexOf(n.status)>a.indexOf(i.status)&&(i.status=n.status),i.bids.push(o(n)),e}),{});Object.keys(s.bids).forEach((function(e){var t=s.bids[e].adUnit.adUnitCode;g(s.bids[e],Object(r.pick)(l[t],["accountId","siteId","zoneId"]))}));var p={clientTimeoutMillis:s.timeout,auctionStart:s.timestamp,auctionEnd:s.endTs,bidderOrder:s.bidderOrder,samplingFactor:Q,accountId:J,adUnits:Object.keys(l).map((function(e){return l[e]})),requestId:e};s.floorData&&("noData"===s.floorData.location?p.floors=Object(r.pick)(s.floorData,["location","fetchStatus","floorProvider as provider"]):p.floors=Object(r.pick)(s.floorData,["location","modelVersion as modelName","modelWeight","modelTimestamp","skipped","enforcement",function(){return Object(r.deepAccess)(s.floorData,"enforcements.enforceJS")},"dealsEnforced",function(){return Object(r.deepAccess)(s.floorData,"enforcements.floorDeals")},"skipRate","fetchStatus","floorMin","floorProvider as provider"])),s.gdprConsent&&(p.gdpr=Object(r.pick)(s.gdprConsent,["gdprApplies as applies","consentString","apiVersion as version"])),s.session&&(u.session=Object(r.pick)(s.session,["id","pvid","start","expires"]),Object(r.isEmpty)(s.session.fpkvs)||(u.fpkvs=Object.keys(s.session.fpkvs).map((function(e){return{key:e,value:s.session.fpkvs[e]}})))),y&&(p.serverTimeoutMillis=y.timeout),s.userIds.length&&(p.user={ids:s.userIds}),u.auctions=[p];var b=Object.keys(s.bidsWon).reduce((function(e,t){var n=s.bidsWon[t];return n&&e.push(i(s.bids[n])),e}),[]);b.length>0&&(u.bidsWon=b),s.sent=!0}else t&&s&&s.bids[t]&&(u.bidsWon=[i(s.bids[t])]);Object(c.a)(this.getUrl(),null,JSON.stringify(u),{contentType:"application/json"})}function z(e){return e.mediaTypes&&1===Object.keys(e.mediaTypes).length&&"instream"===Object(r.deepAccess)(e,"mediaTypes.video.context")}function G(e,t,n){var o=function(e){var t,n;if(e.status===_&&Object(r.deepAccess)(e,"floorData.cpmAfterAdjustments"))t=e.floorData.cpmAfterAdjustments,n=e.floorData.floorCurrency;else{if("string"==typeof e.currency&&"USD"===e.currency.toUpperCase())return Number(e.cpm);t=e.cpm,n=e.currency}if("USD"===n)return Number(t);try{return Number(j.convertCurrency(t,n,"USD"))}catch(t){Object(r.logWarn)("Rubicon Analytics Adapter: Could not determine the bidPriceUSD of the bid ",e)}}(e);return t&&t.bidPriceUSD>o?t:Object(r.pick)(e,["bidPriceUSD",function(){return o},"dealId","status","mediaType","dimensions",function(){var t=e.width||e.playerWidth,n=e.height||e.playerHeight;return t&&n?{width:t,height:n}:void 0},"pbsBidId",function(e){return 0==e?Object(r.generateUUID)():e},"seatBidId",function(e){return 0==e?Object(r.generateUUID)():e},"floorValue",function(){return Object(r.deepAccess)(e,"floorData.floorValue")},"floorRuleValue",function(){return Object(r.deepAccess)(e,"floorData.floorRuleValue")},"floorRule",function(){return Object(r.debugTurnedOn)()?Object(r.deepAccess)(e,"floorData.floorRule"):void 0},"adomains",function(){var t=Object(r.deepAccess)(e,"meta.advertiserDomains"),n=Array.isArray(t)&&t.filter((function(e){return"string"==typeof e}));return n&&n.length>0?n.slice(0,10):void 0}])}function V(){return B.fpkvs=g(B.fpkvs||{},function(){var e;try{e=Object(r.parseQS)(Object(r.getWindowLocation)().search)}catch(t){e={}}return Object.keys(e).reduce((function(t,n){return n.match(/utm_/)&&(t[n.replace(/utm_/,"")]=e[n]),t}),{})}()),Object.keys(B.fpkvs).forEach((function(e){B.fpkvs[e]=B.fpkvs[e]+""})),B.fpkvs}d.b.getConfig("rubicon",(function(e){Object(r.mergeDeep)(B,e.rubicon),!0===Object(r.deepAccess)(e,"rubicon.updatePageView")&&(B.pvid=Object(r.generateUUID)().slice(0,8))}));var J,Q=1,Z=["rubicon"];function K(){var e=Date.now(),t=function(){var e=v.getDataFromLocalStorage(O);if(e)try{return JSON.parse(window.atob(e))}catch(e){Object(r.logError)("Rubicon Analytics: Unable to decode ".concat(O," value: "),e)}return{}}();return(!Object.keys(t).length||e-t.lastSeen>18e5||t.expires<e)&&(t={id:Object(r.generateUUID)(),start:e,expires:e+216e5}),Object.keys(t).length&&(t.lastSeen=e,t.fpkvs=f(f({},t.fpkvs),V()),t.pvid=B.pvid,function(e){try{v.setDataInLocalStorage(O,window.btoa(JSON.stringify(e)))}catch(e){Object(r.logError)("Rubicon Analytics: Unable to encode ".concat(O," value: "),e)}}(t)),t}function X(){window.googletag.pubads().addEventListener("slotRenderEnded",(function(e){var t=Object(r.isAdUnitCodeMatchingSlot)(e.slot);Object.keys(M.auctions).forEach((function(n){(Object.keys(M.auctions[n].bids)||[]).forEach((function(o){var i=M.auctions[n].bids[o];t(i.adUnit.adUnitCode)&&(M.auctions[n].gamHasRendered[i.adUnit.adUnitCode]=!0,i.adUnit.gam=Object(r.pick)(e,["advertiserId",function(e){return Object(r.isNumber)(e)?e:void 0},"creativeId",function(t){return Object(r.isNumber)(e.sourceAgnosticCreativeId)?e.sourceAgnosticCreativeId:Object(r.isNumber)(t)?t:void 0},"lineItemId",function(t){return Object(r.isNumber)(e.sourceAgnosticLineItemId)?e.sourceAgnosticLineItemId:Object(r.isNumber)(t)?t:void 0},"adSlot",function(){return e.slot.getAdUnitPath()},"isSlotEmpty",function(){return e.isEmpty||void 0}]))})),B.waitForGamSlots&&!M.auctions[n].sent&&Object.keys(M.auctions[n].gamHasRendered).every((function(e){return M.auctions[n].gamHasRendered[e]}))&&(clearTimeout(M.timeouts[n]),delete M.timeouts[n],B.analyticsEventDelay>0?setTimeout((function(){return H.call($,n,void 0,"delayedGam")}),B.analyticsEventDelay):H.call($,n,void 0,"gam"))}))}))}var Y=Object(o.a)({analyticsType:"endpoint"}),$=g({},Y,{MODULE_INITIALIZED_TIME:Date.now(),referrerHostname:"",enableAnalytics:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=!1;Q=1,"object"===p(e.options)&&(e.options.accountId&&(J=Number(e.options.accountId)),e.options.endpoint?this.getUrl=function(){return e.options.endpoint}:(Object(r.logError)("required endpoint missing from rubicon analytics"),t=!0),void 0!==e.options.sampling&&(Q=1/parseFloat(e.options.sampling)),void 0!==e.options.samplingFactor&&(void 0!==e.options.sampling&&Object(r.logWarn)("Both options.samplingFactor and options.sampling enabled in rubicon analytics, defaulting to samplingFactor"),Q=parseFloat(e.options.samplingFactor),e.options.sampling=1/Q));var n=[1,10,20,40,100];-1===n.indexOf(Q)?(t=!0,Object(r.logError)("invalid samplingFactor for rubicon analytics: "+Q+", must be one of "+n.join(", "))):J||(t=!0,Object(r.logError)("required accountId missing for rubicon analytics")),t||Y.enableAnalytics.call(this,e)},disableAnalytics:function(){this.getUrl=Y.getUrl,J=void 0,B={},M.gpt.registered=!1,Y.disableAnalytics.apply(this,arguments)},track:function(e){var t,n=this,o=e.eventType,s=e.args;switch(o){case D:t=i.default.aliasRegistry,Object.keys(t).forEach((function(e){"rubicon"===t[e]&&Z.push(e)}));var a=Object(r.pick)(s,["timestamp","timeout"]);a.bids={},a.bidsWon={},a.gamHasRendered={},a.bidderOrder=[],a.referrer=Object(r.deepAccess)(s,"bidderRequests.0.refererInfo.referer");var c=Object(r.deepAccess)(s,"bidderRequests.0.bids.0.floorData");c&&(a.floorData=f({},c)),a.gdprConsent=Object(r.deepAccess)(s,"bidderRequests.0.gdprConsent"),a.session=v.localStorageIsEnabled()&&K(),a.userIds=Object.keys(Object(r.deepAccess)(s,"bidderRequests.0.bids.0.userId",{})).map((function(e){return{provider:e,hasId:!0}})),M.auctions[s.auctionId]=a,!M.gpt.registered&&Object(r.isGptPubadsDefined)()?(X(),M.gpt.registered=!0):M.gpt.registered||(M.gpt.registered=!0,window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push((function(){X()})));break;case T:M.auctions[s.auctionId].bidderOrder.push(s.bidderCode),g(M.auctions[s.auctionId].bids,s.bids.reduce((function(e,t){return M.auctions[s.auctionId].bidsWon[t.adUnitCode]=!1,B.waitForGamSlots&&!z(t)&&(M.auctions[s.auctionId].gamHasRendered[t.adUnitCode]=!1),e[t.bidId]=Object(r.pick)(t,["bidder",function(e){return e.toLowerCase()},"bidId","status",function(){return"no-bid"},"source",function(){return x(t.src)},"params",function(e,t){switch(t.bidder){case"rubicon":return Object(r.pick)(e,["accountId","siteId","zoneId"])}},"videoAdFormat",function(e,n){if("rubicon"===n.bidder)return{201:"pre-roll",202:"interstitial",203:"outstream",204:"mid-roll",205:"post-roll",207:"vertical"}[Object(r.deepAccess)(t,"params.video.size_id")];var o=parseInt(Object(r.deepAccess)(t,"params.video.startdelay"),10);return isNaN(o)?void 0:o>0?"mid-roll":{0:"pre-roll","-1":"mid-roll","-2":"post-roll"}[o]},"adUnit",function(){return Object(r.pick)(t,["adUnitCode","transactionId","sizes as dimensions",function(e){return e.map(P)},"mediaTypes",function(e){return t.mediaType&&W(t.mediaType)?[t.mediaType]:Array.isArray(e)?e.filter(W):"object"===p(e)?(t.sizes||(t.dimensions=[],Object(r._each)(e,(function(e){return t.dimensions=t.dimensions.concat(e.sizes.map(P))}))),Object.keys(e).filter(W)):["banner"]},"gam",function(){if("gam"===Object(r.deepAccess)(t,"ortb2Imp.ext.data.adserver.name"))return{adSlot:t.ortb2Imp.ext.data.adserver.adslot}},"pbAdSlot",function(){return Object(r.deepAccess)(t,"ortb2Imp.ext.data.pbadslot")},"pattern",function(){return Object(r.deepAccess)(t,"ortb2Imp.ext.data.aupname")}])}]),e}),{}));break;case E:var d=M.auctions[s.auctionId];!d.bids[s.requestId]&&s.originalRequestId&&(d.bids[s.requestId]=f({},d.bids[s.originalRequestId]),d.bids[s.requestId].bidId=s.requestId,d.bids[s.requestId].bidderDetail=s.targetingBidder);var u=d.bids[s.requestId];if(!Object(r.deepAccess)(u,"adUnit.gam.adSlot")&&Object(r.deepAccess)(s,"floorData.matchedFields.gptSlot")&&Object(r.deepSetValue)(u,"adUnit.gam.adSlot",s.floorData.matchedFields.gptSlot),!Object(r.deepAccess)(d,"floorData.enforcements")&&Object(r.deepAccess)(s,"floorData.enforcements")&&(d.floorData.enforcements=f({},s.floorData.enforcements)),!u){Object(r.logError)("Rubicon Anlytics Adapter Error: Could not find associated bid request for bid response with requestId: ",s.requestId);break}switch(u.source=x(u.source||s.source),s.getStatusCode()){case C:u.status="success",delete u.error;break;case N:u.status=s.status===_?"rejected-ipf":"no-bid",delete u.error;break;default:u.status="error",u.error={code:"request-error"}}u.clientLatencyMillis=u.timeToRespond||Date.now()-M.auctions[s.auctionId].timestamp,u.bidResponse=G(s,u.bidResponse);break;case U:var l=Object(r.deepAccess)(s,"serverErrors.0"),b=s.serverResponseTimeMs;s.bids.forEach((function(e){var t=M.auctions[e.auctionId].bids[e.bidId||e.requestId];void 0!==e.serverResponseTimeMs?t.serverLatencyMillis=e.serverResponseTimeMs:b&&"s2s"===e.source&&(t.serverLatencyMillis=b),!l||t.status&&-1===["no-bid","error"].indexOf(t.status)||(t.status="error",t.error={code:I[l.code]||I[999],description:l.message}),t.status||(t.status="no-bid"),t.clientLatencyMillis||(t.clientLatencyMillis=Date.now()-M.auctions[e.auctionId].timestamp)}));break;case w:g(M.targeting,s);break;case k:var m=M.auctions[s.auctionId];m.bidsWon[s.adUnitCode]=s.requestId,!0===m.sent?H.call(this,s.auctionId,s.requestId,"soloBidWon"):!B.waitForGamSlots&&Object.keys(m.bidsWon).reduce((function(e,t){return e=e&&m.bidsWon[t]}),!0)&&(clearTimeout(M.timeouts[s.auctionId]),delete M.timeouts[s.auctionId],H.call(this,s.auctionId,void 0,"allBidWons"));break;case h:M.auctions[s.auctionId].endTs=Date.now(),s.adUnits&&s.adUnits.every((function(e){return z(e)}))?H.call(this,s.auctionId,void 0,"instreamAuction"):M.timeouts[s.auctionId]=setTimeout((function(){H.call(n,s.auctionId,void 0,"auctionEnd")}),B.analyticsBatchTimeout||q);break;case S:s.forEach((function(e){var t=M.auctions[e.auctionId].bids[e.bidId||e.requestId];"error"!==t.status&&(t.status="error",t.error={code:"timeout-error",description:"prebid.js timeout"})}))}}});i.default.registerAnalyticsAdapter({adapter:$,code:"rubicon",gvlid:52}),t.default=$,window.tmzr.installedModules.push("rubiconAnalyticsAdapter")}},[826]);
tmzrChunk([148],{828:function(e,t,r){e.exports=r(829)},829:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r.d(t,"spec",(function(){return j})),t.hasVideoMediaType=I,r.d(t,"resetRubiConf",(function(){return k})),t.masSizeOrdering=z,t.determineRubiconVideoSizeId=R,t.getPriceGranularity=T,t.hasValidVideoParams=E,t.hasValidSupplyChainParams=U,t.encodeParam=P,t.resetUserSync=function(){N=!1};var i=r(0),n=r(1),o=r(3),a=r(2),c=r(11),s=r.n(c),d=r(13),u=r(14);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function b(){return(b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e}).apply(this,arguments)}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var i,n,o=[],a=!0,c=!1;try{for(r=r.call(e);!(a=(i=r.next()).done)&&(o.push(i.value),!t||o.length!==t);a=!0);}catch(e){c=!0,n=e}finally{try{a||null==r.return||r.return()}finally{if(c)throw n}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var y="https://video-outstream.rubiconproject.com/apex-2.2.1.js",x={};o.b.getConfig("rubicon",(function(e){Object(i.mergeDeep)(x,e.rubicon)}));var h={1:"468x60",2:"728x90",5:"120x90",7:"125x125",8:"120x600",9:"160x600",10:"300x600",13:"200x200",14:"250x250",15:"300x250",16:"336x280",17:"240x400",19:"300x100",31:"980x120",32:"250x360",33:"180x500",35:"980x150",37:"468x400",38:"930x180",39:"750x100",40:"750x200",41:"750x300",42:"2x4",43:"320x50",44:"300x50",48:"300x300",53:"1024x768",54:"300x1050",55:"970x90",57:"970x250",58:"1000x90",59:"320x80",60:"320x150",61:"1000x1000",64:"580x500",65:"640x480",66:"930x600",67:"320x480",68:"1800x1000",72:"320x320",73:"320x160",78:"980x240",79:"980x300",80:"980x400",83:"480x300",85:"300x120",90:"548x150",94:"970x310",95:"970x100",96:"970x210",101:"480x320",102:"768x1024",103:"480x280",105:"250x800",108:"320x240",113:"1000x300",117:"320x100",125:"800x250",126:"200x600",144:"980x600",145:"980x150",152:"1000x250",156:"640x320",159:"320x250",179:"250x600",195:"600x300",198:"640x360",199:"640x200",213:"1030x590",214:"980x360",221:"1x1",229:"320x180",230:"2000x1400",232:"580x400",234:"6x6",251:"2x2",256:"480x820",257:"400x600",258:"500x200",259:"998x200",264:"970x1000",265:"1920x1080",274:"1800x200",278:"320x500",282:"320x400",288:"640x380",548:"500x1000",550:"980x480",552:"300x200",558:"640x640",562:"300x431",564:"320x431",566:"320x300",568:"300x150",570:"300x125",572:"250x350",574:"620x891",576:"610x877",578:"980x552",580:"505x656"};Object(i._each)(h,(function(e,t){return h[e]=t}));var j={code:"rubicon",gvlid:52,supportedMediaTypes:[a.b,a.d],isBidRequestValid:function(e){if("object"!==v(e.params))return!1;for(var t=0,r=["accountId","siteId","zoneId"];t<r.length;t++)if(e.params[r[t]]=parseInt(e.params[r[t]]),isNaN(e.params[r[t]]))return Object(i.logError)("Rubicon: wrong format of accountId or siteId or zoneId."),!1;var n=w(e,!0);return!!n&&("video"!==n||E(e))},buildRequests:function(e,t){var r=[],n=e.filter((function(e){return"video"===w(e)})).map((function(e){e.startTime=(new Date).getTime();var r={id:e.transactionId,test:o.b.getConfig("debug")?1:0,cur:["USD"],source:{tid:e.transactionId},tmax:t.timeout,imp:[{exp:o.b.getConfig("s2sConfig.defaultTtl"),id:e.adUnitCode,secure:1,ext:g({},e.bidder,e.params),video:Object(i.deepAccess)(e,"mediaTypes.video")||{}}],ext:{prebid:{channel:{name:"pbjs",version:tmzr.version},cache:{vastxml:{returnCreative:!0===x.returnVast}},targeting:{includewinners:!0,includebidderkeys:!1,pricegranularity:T(o.b)},bidders:{rubicon:{integration:x.int_type||"pbjs"}}}}};"rubicon"!==e.bidder&&(r.ext.prebid.aliases=g({},e.bidder,"rubicon"));var n,c,s=Object(u.a)().installedModules;if(!s||s.length&&-1===s.indexOf("rubiconAnalyticsAdapter")||Object(i.deepSetValue)(r,"ext.prebid.analytics",{rubicon:{"client-analytics":!0}}),"function"!=typeof e.getFloor||x.disableFloors)n=parseFloat(Object(i.deepAccess)(e,"params.floor"));else{var d;try{d=e.getFloor({currency:"USD",mediaType:"video",size:A(e,"video")})}catch(e){Object(i.logError)("Rubicon: getFloor threw an error: ",e)}n="object"!==v(d)||"USD"!==d.currency||isNaN(parseInt(d.floor))?void 0:parseFloat(d.floor)}(isNaN(n)||(r.imp[0].bidfloor=n),r.imp[0].ext[e.bidder].video.size_id=R(e),function(e,t,r){if(!e)return;"object"===v(o.b.getConfig("app"))?e.app=o.b.getConfig("app"):e.site={page:O(t,r)};"object"===v(o.b.getConfig("device"))&&(e.device=o.b.getConfig("device"));t.params.video.language&&["site","device"].forEach((function(r){e[r]&&("site"===r?e[r].content=b({language:t.params.video.language},e[r].content):e[r]=b({language:t.params.video.language},e[r]))}))}(r,e,t),function(e,t){"object"===v(e.imp[0].video)&&void 0===e.imp[0].video.skip&&(e.imp[0].video.skip=t.params.video.skip);"object"===v(e.imp[0].video)&&void 0===e.imp[0].video.skipafter&&(e.imp[0].video.skipafter=t.params.video.skipdelay);"object"===v(e.imp[0].video)&&void 0===e.imp[0].video.pos&&("atf"===t.params.position?e.imp[0].video.pos=1:"btf"===t.params.position&&(e.imp[0].video.pos=3));var r=A(t,"video");e.imp[0].video.w=r[0],e.imp[0].video.h=r[1]}(r,e),t.gdprConsent)&&("boolean"==typeof t.gdprConsent.gdprApplies&&(c=t.gdprConsent.gdprApplies?1:0),Object(i.deepSetValue)(r,"regs.ext.gdpr",c),Object(i.deepSetValue)(r,"user.ext.consent",t.gdprConsent.consentString));t.uspConsent&&Object(i.deepSetValue)(r,"regs.ext.us_privacy",t.uspConsent);var p=Object(i.deepAccess)(t,"bids.0.userIdAsEids");p&&p.length&&Object(i.deepSetValue)(r,"user.ext.eids",p);var l=o.b.getConfig("user.id");l&&Object(i.deepSetValue)(r,"user.id",l),!0===o.b.getConfig("coppa")&&Object(i.deepSetValue)(r,"regs.coppa",1),e.schain&&U(e.schain)&&Object(i.deepSetValue)(r,"source.ext.schain",e.schain);var m=o.b.getConfig("multibid");return m&&Object(i.deepSetValue)(r,"ext.prebid.multibid",m.reduce((function(e,t){var r={};return Object.keys(t).forEach((function(e){r[e.toLowerCase()]=t[e]})),e.push(r),e}),[])),S(e,a.d,r),e.storedAuctionResponse&&Object(i.deepSetValue)(r.imp[0],"ext.prebid.storedauctionresponse.id",e.storedAuctionResponse.toString()),Object(i.deepSetValue)(r.imp[0],"ext.prebid.auctiontimestamp",t.auctionStart),{method:"POST",url:"https://".concat(x.videoHost||"prebid-server",".rubiconproject.com/openrtb2/auction"),data:r,bidRequest:e}}));if(!0!==x.singleRequest)r=n.concat(e.filter((function(e){return"banner"===w(e)})).map((function(e){var r=j.createSlotParams(e,t);return{method:"GET",url:"https://".concat(x.bannerHost||"fastlane",".rubiconproject.com/a/api/fastlane.json"),data:j.getOrderedParams(r).reduce((function(e,t){var n=r[t];return Object(i.isStr)(n)&&""!==n||Object(i.isNumber)(n)?"".concat(e).concat(P(t,n),"&"):e}),"")+"slots=1&rand=".concat(Math.random()),bidRequest:e}})));else{var c=e.filter((function(e){return"banner"===w(e)})).reduce((function(e,t){return(e[t.params.siteId]=e[t.params.siteId]||[]).push(t),e}),{});r=n.concat(Object.keys(c).reduce((function(e,r){var n,o;return(n=c[r],o=10,n.map((function(e,t){return t%o==0?n.slice(t,t+o):null})).filter((function(e){return e}))).forEach((function(r){var n=j.combineSlotUrlParams(r.map((function(e){return j.createSlotParams(e,t)})));e.push({method:"GET",url:"https://".concat(x.bannerHost||"fastlane",".rubiconproject.com/a/api/fastlane.json"),data:j.getOrderedParams(n).reduce((function(e,t){var r=n[t];return Object(i.isStr)(r)&&""!==r||Object(i.isNumber)(r)?"".concat(e).concat(P(t,r),"&"):e}),"")+"slots=".concat(r.length,"&rand=").concat(Math.random()),bidRequest:r})})),e}),[]))}return r},getOrderedParams:function(e){var t=/^tg_v/,r=/^tg_i/,i=/^eid_|^tpid_/,n=["account_id","site_id","zone_id","size_id","alt_size_ids","p_pos","gdpr","gdpr_consent","us_privacy","rp_schain"].concat(Object.keys(e).filter((function(e){return i.test(e)}))).concat(["x_liverampidl","ppuid","rf","p_geo.latitude","p_geo.longitude","kw"]).concat(Object.keys(e).filter((function(e){return t.test(e)}))).concat(Object.keys(e).filter((function(e){return r.test(e)}))).concat(["tk_flint","x_source.tid","x_source.pchain","p_screen_res","rp_floor","rp_secure","tk_user_key"]);return n.concat(Object.keys(e).filter((function(e){return-1===n.indexOf(e)})))},combineSlotUrlParams:function(e){if(1===e.length)return e[0];var t=e.reduce((function(t,r,i){return Object.keys(r).forEach((function(n){t.hasOwnProperty(n)||(t[n]=new Array(e.length)),t[n].splice(i,1,r[n])})),t}),{}),r=new RegExp("^([^;]*)(;\\1)+$");return Object.keys(t).forEach((function(e){var i=t[e].join(";"),n=i.match(r);t[e]=n?n[1]:i})),t},createSlotParams:function(e,t){e.startTime=(new Date).getTime();var r=e.params,n=A(e,"banner"),c=m(r.latLong||[],2),d=c[0],u=c[1],p={account_id:r.accountId,site_id:r.siteId,zone_id:r.zoneId,size_id:n[0],alt_size_ids:n.slice(1).join(",")||void 0,rp_floor:(r.floor=parseFloat(r.floor))>=.01?r.floor:void 0,rp_secure:"1",tk_flint:"".concat(x.int_type||"pbjs_lite","_v6.13.0"),"x_source.tid":e.transactionId,"x_source.pchain":r.pchain,p_screen_res:[window.screen.width,window.screen.height].join("x"),tk_user_key:r.userId,"p_geo.latitude":isNaN(parseFloat(d))?void 0:parseFloat(d).toFixed(4),"p_geo.longitude":isNaN(parseFloat(u))?void 0:parseFloat(u).toFixed(4),"tg_fl.eid":e.code,rf:O(e,t)};if("function"==typeof e.getFloor&&!x.disableFloors){var l;try{l=e.getFloor({currency:"USD",mediaType:"banner",size:"*"})}catch(e){Object(i.logError)("Rubicon: getFloor threw an error: ",e)}p.rp_hard_floor="object"!==v(l)||"USD"!==l.currency||isNaN(parseInt(l.floor))?void 0:l.floor}Object(i.deepAccess)(e,"mediaTypes.banner.pos");p.p_pos="atf"===r.position||"btf"===r.position?r.position:"atf";var b=o.b.getConfig("user.id");return b&&(p.ppuid=b),e.userIdAsEids&&e.userIdAsEids.forEach((function(e){try{if("adserver.org"===e.source?(p.tpid_tdid=e.uids[0].id,p["eid_adserver.org"]=e.uids[0].id):"liveintent.com"===e.source?(p["tpid_liveintent.com"]=e.uids[0].id,p["eid_liveintent.com"]=e.uids[0].id,e.ext&&Array.isArray(e.ext.segments)&&e.ext.segments.length&&(p["tg_v.LIseg"]=e.ext.segments.join(","))):"liveramp.com"===e.source?p.x_liverampidl=e.uids[0].id:"id5-sync.com"===e.source?p["eid_id5-sync.com"]="".concat(e.uids[0].id,"^").concat(e.uids[0].atype,"^").concat(e.uids[0].ext&&e.uids[0].ext.linkType||""):p["eid_".concat(e.source)]="".concat(e.uids[0].id,"^").concat(e.uids[0].atype||""),!p.ppuid){var t=s()(e.uids,(function(e){return e.ext&&"ppuid"===e.ext.stype}));t&&t.id&&(p.ppuid=t.id)}}catch(t){Object(i.logWarn)("Rubicon: error reading eid:",e,t)}})),t.gdprConsent&&("boolean"==typeof t.gdprConsent.gdprApplies&&(p.gdpr=Number(t.gdprConsent.gdprApplies)),p.gdpr_consent=t.gdprConsent.consentString),t.uspConsent&&(p.us_privacy=encodeURIComponent(t.uspConsent)),p.rp_maxbids=t.bidLimit||1,S(e,a.b,p),!0===o.b.getConfig("coppa")&&(p.coppa=1),e.schain&&U(e.schain)&&(p.rp_schain=j.serializeSupplyChain(e.schain)),p},serializeSupplyChain:function(e){if(!U(e))return"";var t=e.ver,r=e.complete,i=e.nodes;return"".concat(t,",").concat(r,"!").concat(j.serializeSupplyChainNodes(i))},serializeSupplyChainNodes:function(e){var t=["asi","sid","hp","rid","name","domain"];return e.map((function(e){return t.map((function(t){return encodeURIComponent(e[t]||"")})).join(",")})).join("!")},interpretResponse:function(e,t){var r=t.bidRequest;if(!(e=e.body)||"object"!==v(e))return[];if(e.seatbid){var n=Object(i.deepAccess)(e,"ext.errors.rubicon");Array.isArray(n)&&n.length>0&&Object(i.logWarn)("Rubicon: Error in video response");var o=[];return e.seatbid.forEach((function(t){(t.bid||[]).forEach((function(n){var c={requestId:r.bidId,currency:e.cur||"USD",creativeId:n.crid,cpm:n.price||0,bidderCode:t.seat,ttl:300,netRevenue:!1!==x.netRevenue,width:n.w||Object(i.deepAccess)(r,"mediaTypes.video.w")||Object(i.deepAccess)(r,"params.video.playerWidth"),height:n.h||Object(i.deepAccess)(r,"mediaTypes.video.h")||Object(i.deepAccess)(r,"params.video.playerHeight")};n.id&&(c.seatBidId=n.id),n.dealid&&(c.dealId=n.dealid),n.adomain&&Object(i.deepSetValue)(c,"meta.advertiserDomains",Array.isArray(n.adomain)?n.adomain:[n.adomain]),Object(i.deepAccess)(n,"ext.bidder.rp.advid")&&Object(i.deepSetValue)(c,"meta.advertiserId",n.ext.bidder.rp.advid);var s=Object(i.deepAccess)(e,"ext.responsetimemillis.rubicon");if(r&&s&&(r.serverResponseTimeMs=s),Object(i.deepAccess)(n,"ext.prebid.type")===a.d){c.mediaType=a.d,Object(i.deepSetValue)(c,"meta.mediaType",a.d);var u=Object(i.deepAccess)(n,"ext.prebid.targeting");u&&"object"===v(u)&&(c.adserverTargeting=u),n.ext.prebid.cache&&"object"===v(n.ext.prebid.cache.vastXml)&&n.ext.prebid.cache.vastXml.cacheId&&n.ext.prebid.cache.vastXml.url?(c.videoCacheKey=n.ext.prebid.cache.vastXml.cacheId,c.vastUrl=n.ext.prebid.cache.vastXml.url):u&&u.hb_uuid&&u.hb_cache_host&&u.hb_cache_path&&(c.videoCacheKey=u.hb_uuid,c.vastUrl="https://".concat(u.hb_cache_host).concat(u.hb_cache_path,"?uuid=").concat(u.hb_uuid)),n.adm&&(c.vastXml=n.adm),n.nurl&&(c.vastUrl=n.nurl),!c.vastUrl&&n.nurl&&(c.vastUrl=n.nurl),"outstream"===Object(i.deepAccess)(r,"mediaTypes.video.context").toLowerCase()&&(c.renderer=function(e){var t=d.a.install({id:e.adId,url:x.rendererUrl||y,config:x.rendererConfig||{},loaded:!1,adUnitCode:e.adUnitCode});try{t.setRender(_)}catch(e){Object(i.logWarn)("Prebid Error calling setRender on renderer",e)}return t}(c))}else Object(i.logWarn)("Rubicon: video response received non-video media type");o.push(c)}))})),o}var c,s=e.ads,u=0;return"object"!==v(r)||Array.isArray(r)||"video"!==w(r)||"object"!==v(s)||(s=s[r.adUnitCode]),!Array.isArray(s)||s.length<1?[]:s.reduce((function(t,n,o){if(n.impression_id&&c===n.impression_id?u++:c=n.impression_id,"ok"!==n.status)return t;var s,d,p=Array.isArray(r)?r[o-u]:r;if(p&&"object"===v(p)){var l={requestId:p.bidId,currency:"USD",creativeId:n.creative_id||"".concat(n.network||"","-").concat(n.advertiser||""),cpm:n.cpm||0,dealId:n.deal,ttl:300,netRevenue:!1!==x.netRevenue,rubicon:{advertiserId:n.advertiser,networkId:n.network},meta:{advertiserId:n.advertiser,networkId:n.network,mediaType:a.b}};if(n.creative_type&&(l.mediaType=n.creative_type),n.adomain&&(l.meta.advertiserDomains=Array.isArray(n.adomain)?n.adomain:[n.adomain]),n.creative_type===a.d)l.width=p.params.video.playerWidth,l.height=p.params.video.playerHeight,l.vastUrl=n.creative_depot_url,l.impression_id=n.impression_id,l.videoCacheKey=n.impression_id;else{l.ad=(s=n.script,d=n.impression_id,"<html>\n<head><script type='text/javascript'>inDapIF=true;<\/script></head>\n<body style='margin : 0; padding: 0;'>\n\x3c!-- Rubicon Project Ad Tag --\x3e\n<div data-rp-impression-id='".concat(d,"'>\n<script type='text/javascript'>").concat(s,"<\/script>\n</div>\n</body>\n</html>"));var b=m(h[n.size_id].split("x").map((function(e){return Number(e)})),2);l.width=b[0],l.height=b[1]}l.rubiconTargeting=(Array.isArray(n.targeting)?n.targeting:[]).reduce((function(e,t){return e[t.key]=t.values[0],e}),{rpfl_elemid:p.adUnitCode}),t.push(l)}else Object(i.logError)("Rubicon: bidRequest undefined at index position:".concat(o),r,e);return t}),[]).sort((function(e,t){return(t.cpm||0)-(e.cpm||0)}))},getUserSyncs:function(e,t,r,n){if(!N&&e.iframeEnabled){var o={};return r&&("boolean"==typeof r.gdprApplies&&(o.gdpr=Number(r.gdprApplies)),"string"==typeof r.consentString&&(o.gdpr_consent=r.consentString)),n&&(o.us_privacy=encodeURIComponent(n)),o=Object.keys(o).length?"?".concat(Object(i.formatQS)(o)):"",N=!0,{type:"iframe",url:"https://".concat(x.syncHost||"eus",".rubiconproject.com/usync.html")+o}}},transformBidParams:function(e,t){return Object(i.convertTypes)({accountId:"number",siteId:"number",zoneId:"number"},e)}};function O(e,t){var r=o.b.getConfig("pageUrl");return e.params.referrer?r=e.params.referrer:r||(r=t.refererInfo.referer),e.params.secure?r.replace(/^http:/i,"https:"):r}function _(e){var t,r=document.getElementById(e.adUnitCode);(t=r.querySelector("div[id^='google_ads']"))&&t.style.setProperty("display","none"),function(e){var t=e.querySelector("script[id^='sas_script']"),r=t&&t.nextSibling;r&&"iframe"===r.localName&&r.style.setProperty("display","none")}(r);var i=e.renderer.getConfig();e.renderer.push((function(){window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:r,align:i.align||"center",position:i.position||"append"},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function A(e,t){var r=e.params;if("video"===t){var n=[];return r.video&&r.video.playerWidth&&r.video.playerHeight?n=[r.video.playerWidth,r.video.playerHeight]:Array.isArray(Object(i.deepAccess)(e,"mediaTypes.video.playerSize"))&&1===e.mediaTypes.video.playerSize.length?n=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(n=e.sizes[0]),n}var o=[];return Array.isArray(r.sizes)?o=r.sizes:void 0!==Object(i.deepAccess)(e,"mediaTypes.banner.sizes")?o=C(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?o=C(e.sizes):Object(i.logWarn)("Rubicon: no sizes are setup or found"),z(o)}function S(e,t,r){var n={user:{ext:{data:l({},e.params.visitor)}},site:{ext:{data:l({},e.params.inventory)}}};e.params.keywords&&(n.site.keywords=Object(i.isArray)(e.params.keywords)?e.params.keywords.join(","):e.params.keywords);var c=Object(i.mergeDeep)({},o.b.getConfig("ortb2")||{},n),s=Object(i.deepAccess)(e.ortb2Imp,"ext.data")||{},d=Object(i.deepAccess)(e,"ortb2Imp.ext.gpid"),u={user:[4],site:[1,2,5,6]},p={user:"tg_v.",site:"tg_i.",adserver:"tg_i.dfp_ad_unit_code",pbadslot:"tg_i.pbadslot",keywords:"kw"},b=function(e,t,r){if("data"===t&&Array.isArray(e))return e.filter((function(e){return e.segment&&Object(i.deepAccess)(e,"ext.segtax")&&u[r]&&-1!==u[r].indexOf(Object(i.deepAccess)(e,"ext.segtax"))})).map((function(e){var t=e.segment.filter((function(e){return e.id})).reduce((function(e,t){return e.push(t.id),e}),[]);if(t.length>0)return t.toString()})).toString();if("object"!==v(e)||Array.isArray(e)){if(void 0!==e)return Array.isArray(e)?e.filter((function(e){if("object"!==v(e)&&void 0!==e)return e.toString();Object(i.logWarn)("Rubicon: Filtered value: ",e,"for key",t,": Expected value to be string, integer, or an array of strings/ints")})).toString():e.toString()}else Object(i.logWarn)("Rubicon: Filtered FPD key: ",t,": Expected value to be string, integer, or an array of strings/ints")},m=function(e,t,i){var n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=b(e,i,t),a=p[i]&&n?"".concat(p[i]):"data"===i?"".concat(p[t],"iab"):"".concat(p[t]).concat(i);r[a]=r[a]?r[a].concat(",",o):o};t===a.b?(["site","user"].forEach((function(e){Object.keys(c[e]).forEach((function(t){"site"===e&&"content"===t&&c[e][t].data?m(c[e][t].data,e,"data"):"ext"!==t?m(c[e][t],e,t):c[e][t].data&&Object.keys(c[e].ext.data).forEach((function(t){m(c[e].ext.data[t],e,t,!1)}))}))})),Object.keys(s).forEach((function(e){"adserver"!==e?m(s[e],"site",e):"gam"===s[e].name&&m(s[e].adslot,name,e)})),d&&(r.p_gpid=d),r["tg_i.pbadslot"]&&delete r["tg_i.dfp_ad_unit_code"]):(Object.keys(s).length&&Object(i.mergeDeep)(r.imp[0].ext,{data:s}),d&&(r.imp[0].ext.gpid=d),Object(i.mergeDeep)(r,c))}function C(e){return Object(i.parseSizesInput)(e).reduce((function(e,t){var r=parseInt(h[t],10);return r&&e.push(r),e}),[])}function I(e){return"object"===v(Object(i.deepAccess)(e,"params.video"))&&void 0!==Object(i.deepAccess)(e,"mediaTypes.".concat(a.d))}function w(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return I(e)?-1===["outstream","instream"].indexOf(Object(i.deepAccess)(e,"mediaTypes.".concat(a.d,".context")))?void(t&&Object(i.logError)("Rubicon: mediaTypes.video.context must be outstream or instream")):A(e,"video").length<2?void(t&&Object(i.logError)("Rubicon: could not determine the playerSize of the video")):(t&&Object(i.logMessage)("Rubicon: making video request for adUnit",e.adUnitCode),"video"):0===A(e,"banner").length?void(t&&Object(i.logError)("Rubicon: could not determine the sizes for banner request")):(t&&Object(i.logMessage)("Rubicon: making banner request for adUnit",e.adUnitCode),"banner")}var k=function(){return x={}};function z(e){var t=[15,2,9];return e.sort((function(e,r){var i=t.indexOf(e),n=t.indexOf(r);return i>-1||n>-1?-1===i?1:-1===n?-1:i-n:e-r}))}function R(e){var t=parseInt(Object(i.deepAccess)(e,"params.video.size_id"));return isNaN(t)?"outstream"===Object(i.deepAccess)(e,"mediaTypes.".concat(a.d,".context"))?203:201:t}function T(e){return{ranges:{low:[{max:5,increment:.5}],medium:[{max:20,increment:.1}],high:[{max:20,increment:.01}],auto:[{max:5,increment:.05},{min:5,max:10,increment:.1},{min:10,max:20,increment:.5}],dense:[{max:3,increment:.01},{min:3,max:8,increment:.05},{min:8,max:20,increment:.5}],custom:e.getConfig("customPriceBucket")&&e.getConfig("customPriceBucket").buckets}[e.getConfig("priceGranularity")]}}function E(e){var t=!0,r=Object.prototype.toString.call([]),n={mimes:r,protocols:r,linearity:Object.prototype.toString.call(0),api:r};return Object.keys(n).forEach((function(r){Object.prototype.toString.call(Object(i.deepAccess)(e,"mediaTypes.video."+r))!==n[r]&&(t=!1,Object(i.logError)("Rubicon: mediaTypes.video."+r+" is required and must be of type: "+n[r]))})),t}function U(e){var t=!1,r=["asi","sid","hp"];return e.nodes?((t=e.nodes.reduce((function(e,t){return e?r.every((function(e){return t.hasOwnProperty(e)})):e}),!0))||Object(i.logError)("Rubicon: required schain params missing"),t):t}function P(e,t){return"rp_schain"===e?"rp_schain=".concat(t):"".concat(e,"=").concat(encodeURIComponent(t))}var N=!1;Object(n.registerBidder)(j),window.tmzr.installedModules.push("rubiconBidAdapter")}},[828]);
tmzrChunk([145],{836:function(n,i,e){n.exports=e(837)},837:function(n,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.isSchainObjectValid=h,i.isValidSchainConfig=u,i.makeBidRequestsHook=l,i.init=O;var t=e(3),c=e(9),o=e(0),a="Invalid schain object found: ",s=" should be a string",r=" should be an Integer",d=" should be an object",f={STRICT:"strict",RELAXED:"relaxed",OFF:"off"},b=[];function h(n,i){var e="Detected something wrong within an schain config:",t="";function c(n){t+="\n"+n}function a(){!0===i?Object(o.logError)(e,n,t):Object(o.logWarn)(e,n,t)}if(!Object(o.isPlainObject)(n)&&(c("schain.config"+d),a(),i))return!1;if(Object(o.isNumber)(n.complete)&&Object(o.isInteger)(n.complete)||c("schain.config.complete"+r),Object(o.isStr)(n.ver)||c("schain.config.ver"+s),Object(o.hasOwn)(n,"ext")&&(Object(o.isPlainObject)(n.ext)||c("schain.config.ext"+d)),Object(o.isArray)(n.nodes))n.nodes.forEach((function(n,i){Object(o.isStr)(n.asi)||c("schain.config.nodes[".concat(i,"].asi")+s),Object(o.isStr)(n.sid)||c("schain.config.nodes[".concat(i,"].sid")+s),Object(o.isNumber)(n.hp)&&Object(o.isInteger)(n.hp)||c("schain.config.nodes[".concat(i,"].hp")+r),Object(o.hasOwn)(n,"rid")&&(Object(o.isStr)(n.rid)||c("schain.config.nodes[".concat(i,"].rid")+s)),Object(o.hasOwn)(n,"name")&&(Object(o.isStr)(n.name)||c("schain.config.nodes[".concat(i,"].name")+s)),Object(o.hasOwn)(n,"domain")&&(Object(o.isStr)(n.domain)||c("schain.config.nodes[".concat(i,"].domain")+s)),Object(o.hasOwn)(n,"ext")&&(Object(o.isPlainObject)(n.ext)||c("schain.config.nodes[".concat(i,"].ext")+d))}));else if(c("schain.config.nodes should be an Array"),a(),i)return!1;return!(t.length>0&&(a(),i))}function u(n){return void 0!==n&&(!!Object(o.isPlainObject)(n)||(Object(o.logError)(a+"the following schain config will not be used as schain is not an object.",n),!1))}function l(n,i){var e=t.b.getConfig("schain"),c=t.b.getBidderConfig();i.forEach((function(n){var i=n.bidderCode,t=function(n){return c[n]&&c[n].schain||e}(i);n.bids.forEach((function(n){var e=function(n,i){var e=f.STRICT;if(u(n)){if(Object(o.isStr)(n.validation)&&-1!=b.indexOf(n.validation)&&(e=n.validation),e===f.OFF)return n.config;if(h(n.config,!(e!==f.STRICT)))return n.config;Object(o.logError)(a+"due to the 'strict' validation setting, this schain config will not be passed to bidder '".concat(i,"'.  See above error for details."))}return null}(t,i);e&&(n.schain=e)}))})),n(i)}function O(){c.default.makeBidRequests.after(l)}Object(o._each)(f,(function(n){return b.push(n)})),O(),window.tmzr.installedModules.push("schain")}},[836]);
tmzrChunk([143],{840:function(e,t,r){e.exports=r(841)},841:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTimeoutUrl=h,r.d(t,"spec",(function(){return I}));var n,i=r(0),a=r(1),d=r(2);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s={inImage:!0,inScreen:!0,inArticle:!0,banner:!0,video:!0},u=(o(n={},d.b,"display"),o(n,d.d,"video"),n),c="fixed",p="mobile",l="unknown",m=function(){var e=navigator.connection||navigator.mozConnection||navigator.webkitConnection||{};switch(e.type||e.effectiveType){case"wifi":case"ethernet":return c;case"cellular":case"wimax":return p;default:return/iPad|iPhone|iPod/.test(navigator.userAgent)||/android/i.test(navigator.userAgent)?l:c}};function b(e){return!!e.mediaTypes&&!!e.mediaTypes.video||!!e.params&&!!e.params.video}function v(e){return!!(e.publisherId&&e.adUnitId&&e.placement&&s[e.placement])}function f(e){var t=e.params,r=Object(i._map)(Object.keys(e.mediaTypes),(function(e){return u[e]})),n={id:e.bidId,transactionId:e.transactionId,sizes:e.sizes,supplyTypes:r,adUnitId:t.adUnitId,adUnitCode:e.adUnitCode,placement:t.placement,requestCount:e.bidderRequestsCount||1};return t.adPosition&&(n.adPosition=t.adPosition),b(e)&&(n.videoParams=y(e)),n}function y(e){var t=e.mediaTypes.video||{};t.playerSize&&(t.w=t.playerSize[0][0],t.h=t.playerSize[0][1]);var r=e.params&&e.params.video||{};return Object.keys(r).forEach((function(r){t[r]=e.params.video[r]})),t}function g(e){var t,r="display"===(t=e.mediaType)?d.b:"video"===t?d.d:t,n={requestId:e.bidId,cpm:e.price,width:e.width,height:e.height,creativeId:e.creativeId,currency:e.currency,netRevenue:!0,mediaType:r,ttl:e.ttl,nurl:e.nurl,meta:{advertiserDomains:e&&e.adomain&&e.adomain.length>0?e.adomain:[]}};return r===d.d?n.vastXml=e.content:n.ad=e.content,n}function h(e){var t="";if(Object(i.isArray)(e)&&e[0]&&Object(i.isArray)(e[0].params)&&e[0].params[0]){var r=e[0].params[0];t="?publisherToken="+r.publisherId+"&adUnitId="+r.adUnitId}return"https://s.seedtag.com/se/hb/timeout"+t}var I={code:"seedtag",gvlid:157,aliases:["st"],supportedMediaTypes:[d.b,d.d],isBidRequestValid:function(e){return b(e)?v(e.params)&&function(e){var t=y(e);return b(e)&&!!t.playerSize&&Object(i.isArray)(t.playerSize)&&t.playerSize.length>0}(e):v(e.params)},buildRequests:function(e,t){var r={url:t.refererInfo.referer,publisherToken:e[0].params.publisherId,cmp:!!t.gdprConsent,timeout:t.timeout,version:"6.13.0",connectionType:m(),bidRequests:Object(i._map)(e,f)};if(r.cmp){var n=t.gdprConsent.gdprApplies;void 0!==n&&(r.ga=n),r.cd=t.gdprConsent.consentString}return{method:"POST",url:"https://s.seedtag.com/c/hb/bid",data:JSON.stringify(r)}},interpretResponse:function(e){var t=e.body;return t&&t.bids&&Object(i.isArray)(t.bids)?Object(i._map)(t.bids,(function(e){return g(e)})):[]},getUserSyncs:function(e,t){var r=t[0];if(e.iframeEnabled&&r){var n=r.body.cookieSync;return n?[{type:"iframe",url:n}]:[]}return[]},onTimeout:function(e){var t=h(e);Object(i.triggerPixel)(t)},onBidWon:function(e){e&&e.nurl&&Object(i.triggerPixel)(e.nurl)}};Object(a.registerBidder)(I),window.tmzr.installedModules.push("seedtagBidAdapter")}},[840]);
tmzrChunk([142],{842:function(o,e,t){o.exports=t(843)},843:function(o,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t.d(e,"storage",(function(){return c})),t.d(e,"sharedIdSystemSubmodule",(function(){return g}));var n=t(0),r=t(8),i=t(9),a=t(7);function d(o){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o})(o)}var c=Object(a.b)(887,"pubCommonId"),u="cookie",l="html5",f="_pubcid_optout",m="PublisherCommonId";function s(o,e){if(e===u)return c.getCookie(o);if(e===l&&c.hasLocalStorage()){var t=c.getDataFromLocalStorage("".concat(o,"_exp"));if(!t)return c.getDataFromLocalStorage(o);if(new Date(t).getTime()-Date.now()>0)return c.getDataFromLocalStorage(o)}}function b(o,e){return function(t){"function"==typeof e&&e(),t(o)}}function p(o){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(o){var t=Object(n.parseUrl)(o);t.search.id=encodeURIComponent("pubcid:"+e);var r=Object(n.buildUrl)(t);return function(){Object(n.triggerPixel)(r)}}}function v(){return!!(c.cookiesAreEnabled()&&s(f,u)||c.hasLocalStorage()&&s(f,l))}var g={name:"sharedId",aliasName:"pubCommonId",gvlid:887,decode:function(o,e){if(!v())return Object(n.logInfo)(" Decoded value PubCommonId "+o),{pubcid:o};Object(n.logInfo)("PubCommonId decode: Has opted-out")},getId:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>2?arguments[2]:void 0;if(v())Object(n.logInfo)("PubCommonId: Has opted-out");else{var t=i.coppaDataHandler.getCoppa();if(!t){var r=o.params,a=(r=void 0===r?{}:r).create,c=void 0===a||a,u=r.pixelUrl,l=e;if(!l){try{"object"===d(window[m])&&(l=window[m].getId())}catch(o){}l||(l=c&&Object(n.hasDeviceAccess)()?Object(n.generateUUID)():void 0)}var f=p(u,l);return{id:l,callback:b(l,f)}}Object(n.logInfo)("PubCommonId: IDs not provided for coppa requests, exiting PubCommonId")}},extendId:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>2?arguments[2]:void 0;if(v())return Object(n.logInfo)("PubCommonId: Has opted-out"),{id:void 0};var t=i.coppaDataHandler.getCoppa();if(t)Object(n.logInfo)("PubCommonId: IDs not provided for coppa requests, exiting PubCommonId");else{var r=o.params,a=(r=void 0===r?{}:r).extend,d=void 0!==a&&a,c=r.pixelUrl;if(d){if(c){var u=p(c,e);return{callback:u}}return{id:e}}}},domainOverride:function(){for(var o,e,t=document.domain.split("."),n="_gd".concat(Date.now()),r=0;r<t.length;r++){var i=t.slice(r).join(".");if(c.setCookie(n,"1",void 0,void 0,i),e=c.getCookie(n),c.setCookie(n,"","Thu, 01 Jan 1970 00:00:01 GMT",void 0,i),"1"!==e)return o;o=i}}};Object(r.e)("userId",g),window.tmzr.installedModules.push("sharedIdSystem")}},[842]);
tmzrChunk([25],{15:function(e,t,r){"use strict";t.b=function(e){var t=[];for(var r in e)if(e.hasOwnProperty(r))if("pubProvidedId"===r)t=t.concat(e.pubProvidedId);else{var n=i(e[r],r);n&&t.push(n)}return t},t.a=function(e){var t=[];return e.filter((function(e){return Object(n.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length})).forEach((function(e){Object.keys(e.idObj).forEach((function(r){Object(n.deepAccess)(e,"config.bidders")&&Array.isArray(e.config.bidders)&&Object(n.deepAccess)(o,r+".source")&&t.push({source:o[r].source,bidders:e.config.bidders})}))})),t};var n=r(0),o={trustpid:{source:"trustpid.com",atype:1,getValue:function(e){return e}},intentIqId:{source:"intentiq.com",atype:1},naveggId:{source:"navegg.com",atype:1},justId:{source:"justtag.com",atype:1},pubcid:{source:"pubcid.org",atype:1},tdid:{source:"adserver.org",atype:1,getUidExt:function(){return{rtiPartner:"TDID"}}},id5id:{getValue:function(e){return e.uid},source:"id5-sync.com",atype:1,getUidExt:function(e){if(e.ext)return e.ext}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var t=Object(n.pick)(e,["ibaOptout","ccpaOptout"]);if(Object.keys(t).length)return t}},idl_env:{source:"liveramp.com",atype:3},lipb:{getValue:function(e){return e.lipbid},source:"liveintent.com",atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},britepoolid:{source:"britepool.com",atype:3},dmdId:{source:"hcn.health",atype:3},lotamePanoramaId:{source:"crwdcntrl.net",atype:1},criteoId:{source:"criteo.com",atype:1},merkleId:{source:"merkleinc.com",atype:3,getValue:function(e){return e.id},getUidExt:function(e){return e&&e.keyID?{keyID:e.keyID}:void 0}},netId:{source:"netid.de",atype:1},IDP:{source:"zeotap.com",atype:1},hadronId:{source:"audigent.com",atype:1},haloId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},nextrollId:{source:"nextroll.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(e){return e.snowflake},source:"novatiq.com",atype:1},uid2:{source:"uidapi.com",atype:3,getValue:function(e){return e.id}},dapId:{source:"akamai.com",atype:1},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3},adtelligentId:{source:"adtelligent.com",atype:3},amxId:{source:"amxrtb.com",atype:1},publinkId:{source:"epsilon.com",atype:3},kpuid:{source:"kpuid.com",atype:3},imuid:{source:"intimatemerger.com",atype:1},connectId:{source:"yahoo.com",atype:3},qid:{source:"adquery.io",atype:1}};function i(e,t){var r=o[t];if(r&&e){var i={};i.source=r.source;var a=Object(n.isFn)(r.getValue)?r.getValue(e):e;if(Object(n.isStr)(a)){var c={id:a,atype:r.atype};if(Object(n.isFn)(r.getUidExt)){var u=r.getUidExt(e);u&&(c.ext=u)}if(i.uids=[c],Object(n.isFn)(r.getEidExt)){var s=r.getEidExt(e);s&&(i.ext=s)}return i}}return null}},846:function(e,t,r){e.exports=r(847)},847:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r.d(t,"sharethroughInternal",(function(){return b})),r.d(t,"sharethroughAdapterSpec",(function(){return g}));var n=r(0),o=r(1),i=r(3),a=r(2),c=r(15);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){y(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f="sharethrough",m="https://btlr.sharethrough.com/universal/v1?supply_id=".concat("WYu2BXv1"),b={getProtocol:function(){return window.location.protocol}},g={code:f,supportedMediaTypes:[a.d,a.b],gvlid:80,isBidRequestValid:function(e){return!!e.params.pkey&&e.bidder===f},buildRequests:function(e,t){var r=i.b.getConfig("bidderTimeout"),o=i.b.getConfig("ortb2")||{},a=b.getProtocol().indexOf("http")<0||b.getProtocol().indexOf("https")>-1,u={id:Object(n.generateUUID)(),at:1,cur:["USD"],tmax:r,site:l({domain:window.location.hostname,page:window.location.href,ref:Object(n.deepAccess)(t,"refererInfo.referer")},o.site),device:{ua:navigator.userAgent,language:navigator.language,js:1,dnt:"1"===navigator.doNotTrack?1:0,h:window.screen.height,w:window.screen.width},regs:{coppa:!0===i.b.getConfig("coppa")?1:0,ext:{}},source:{ext:{version:"6.13.0",str:"4.1.0",schain:e[0].schain}},bcat:e[0].params.bcat||[],badv:e[0].params.badv||[],test:0};if(u.user=j(o.user,{}),u.user.ext||(u.user.ext={}),u.user.ext.eids=function(e){var t=Object(c.b)(Object(n.deepAccess)(e,"userId"))||[],r=Object(n.deepAccess)(e,"userId.flocId");r&&r.id&&r.version&&t.push({source:"chrome.com",uids:[{id:r.id,atype:1,ext:{ver:r.version}}]});return t}(e[0]),t.gdprConsent){var d=!0===t.gdprConsent.gdprApplies;u.regs.ext.gdpr=d?1:0,d&&(u.user.ext.consent=t.gdprConsent.consentString)}return t.uspConsent&&(u.regs.ext.us_privacy=t.uspConsent),e.map((function(e){var t={},r=Object(n.deepAccess)(e,"ortb2Imp.ext.data.pbadslot");r&&(t.ext={gpid:r});var o=Object(n.deepAccess)(e,"mediaTypes.video");if(o){var i=640,c=360;if(o.playerSize&&o.playerSize[0]&&o.playerSize[1]){var u=s(o.playerSize,2);i=u[0],c=u[1]}t.video={pos:j(o.pos,0),topframe:Object(n.inIframe)()?0:1,skip:j(o.skip,0),linearity:j(o.linearity,1),minduration:j(o.minduration,5),maxduration:j(o.maxduration,60),playbackmethod:o.playbackmethod||[2],api:v(o),mimes:o.mimes||["video/mp4"],protocols:h(o),w:i,h:c,startdelay:j(o.startdelay,0),skipmin:j(o.skipmin,0),skipafter:j(o.skipafter,0),placement:"instream"===o.context?1:+Object(n.deepAccess)(o,"placement",4)},o.delivery&&(t.video.delivery=o.delivery),o.companiontype&&(t.video.companiontype=o.companiontype),o.companionad&&(t.video.companionad=o.companionad)}else t.banner={pos:Object(n.deepAccess)(e,"mediaTypes.banner.pos",0),topframe:Object(n.inIframe)()?0:1,format:e.sizes.map((function(e){return{w:+e[0],h:+e[1]}}))};return l({id:e.bidId,tagid:String(e.params.pkey),secure:a?1:0,bidfloor:O(e)},t)})).filter((function(e){return!!e})).map((function(e){return{method:"POST",url:m,data:l(l({},u),{},{imp:[e]})}}))},interpretResponse:function(e,t){var r=e.body;return r&&r.seatbid&&0!==r.seatbid.length&&r.seatbid[0].bid&&0!==r.seatbid[0].bid.length?r.seatbid[0].bid.map((function(e){var n={requestId:e.impid,width:+e.w,height:+e.h,cpm:+e.price,creativeId:e.crid,dealId:e.dealid||null,mediaType:t.data.imp[0].video?a.d:a.b,currency:r.cur||"USD",netRevenue:!0,ttl:360,ad:e.adm,nurl:e.nurl,meta:{advertiserDomains:e.adomain||[]}};return n.mediaType===a.d&&(n.ttl=3600,n.vastXml=e.adm),n})):[]},getUserSyncs:function(e,t,r,n){var o=n?"&us_privacy=".concat(n):"",i=[];return e.pixelEnabled&&t.length>0&&t[0].body&&t[0].body.cookieSyncUrls&&t[0].body.cookieSyncUrls.forEach((function(e){i.push({type:"image",url:e+o})})),i},onTimeout:function(e){},onBidWon:function(e){},onSetTargeting:function(e){}};function v(e){var t=e.api;return t&&Array.isArray(t)&&t.length>0?t:[2]}function h(e){var t=e.protocols;return t&&Array.isArray(t)&&t.length>0?t:[2,3,5,6,7,8]}function O(e){var t=null;if("function"==typeof e.getFloor){var r=e.getFloor({currency:"USD",mediaType:e.mediaTypes&&e.mediaTypes.video?"video":"banner",size:e.sizes.map((function(e){return{w:e[0],h:e[1]}}))});"object"!==u(r)||"USD"!==r.currency||isNaN(parseFloat(r.floor))||(t=parseFloat(r.floor))}return null!==t?t:e.params.floor}function j(e,t){return null==e?t:e}Object(o.registerBidder)(g),window.tmzr.installedModules.push("sharethroughBidAdapter")}},[846]);
tmzrChunk([141],{848:function(e,t,r){e.exports=r(849)},849:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r.d(t,"spec",(function(){return u}));var a=r(0),s=r(3),n=r(13),d=r(1),o=r(2),i=r(32),c="showheroes-bs";function p(e){return{pubTag:e?"https://pubtag.stage.showheroes.com/publishertag.js":"https://static.showheroes.com/publishertag.js",vlHost:e?"https://video-library.stage.showheroes.com":"https://video-library.showheroes.com"}}var u={code:c,aliases:["showheroesBs"],supportedMediaTypes:[o.d,o.b],isBidRequestValid:function(e){return!!e.params.playerId},buildRequests:function(e,t){var r=[],n=e[0].params.contentPageUrl||t.refererInfo.referer,d=!!e[0].params.stage,i="outstream"===Object(a.deepAccess)(e[0],"mediaTypes.video.context"),p=Object(a.deepAccess)(e[0],"params.outstreamOptions.customRender"),u=Object(a.deepAccess)(e[0],"params.outstreamOptions.slot")||Object(a.deepAccess)(e[0],"params.outstreamOptions.iframe"),m=Object(a.deepAccess)(e[0],"renderer"),b=Object(a.deepAccess)(e[0],"params.outstreamOptions"),g=!!e[0].mediaTypes.banner||i&&!(p||m||u),l=e[0].schain||{};return e.forEach((function(e){var s,n=(s=e,h(Object(a.deepAccess)(s,"mediaTypes.video.playerSize")||[])),d=function(e){return h(Object(a.deepAccess)(e,"mediaTypes.banner.sizes")||[])}(e),i=Object(a.getBidIdParameter)("vpaidMode",e.params),p=function(r,s){var n="",d=2;r===o.b?d=5:(n=Object(a.deepAccess)(e,"mediaTypes.video.context"),i&&"instream"===n&&(d=1),"outstream"===n&&(d=5));var p=t.gdprConsent||{},u={apiVersion:p.apiVersion||2,gdprApplies:p.gdprApplies||0,consentString:p.consentString||""};return{type:d,adUnitCode:e.adUnitCode,bidId:e.bidId,mediaType:r,context:n,playerId:Object(a.getBidIdParameter)("playerId",e.params),auctionId:t.auctionId,bidderCode:c,gdprConsent:u,start:+new Date,timeout:3e3,size:{width:s[0],height:s[1]},params:e.params,schain:e.schain||l}};n.forEach((function(e){r.push(p(o.d,e))})),d.forEach((function(e){r.push(p(o.b,e))}))})),{url:d?"https://bid-service.stage.showheroes.com/api/v1/bid":"https://bs.showheroes.com/api/v1/bid",method:"POST",options:{contentType:"application/json",accept:"application/json"},data:{user:[],meta:{adapterVersion:2,pageURL:encodeURIComponent(n),vastCacheEnabled:!!s.b.getConfig("cache")&&!g&&!b||!1,isDesktop:Object(a.getWindowTop)().document.documentElement.clientWidth>700,xmlAndTag:!(!i||!p)||!1,stage:d||void 0},requests:r,debug:e[0].params.debug||!1}}},interpretResponse:function(e,t){return function(e,t){if(e&&(!Array.isArray(e.bids)||e.bids.length<1))return[];var r=[],s={};return(t.requests||[]).forEach((function(e){s[e.bidId]=e})),e.bids.forEach((function(e){var d=s[e.bidId],i=d.params,c={};if(c.cpm=e.cpm,c.requestId=e.bidId,c.adUnitCode=d.adUnitCode,c.currency=e.currency,c.mediaType=e.mediaType||o.d,c.ttl=300,c.creativeId="c_"+e.bidId,c.netRevenue=!0,c.width=e.size.width,c.height=e.size.height,c.meta={advertiserDomains:e.adomain||[]},e.vastXml&&(c.vastXml=e.vastXml,c.adResponse={content:e.vastXml}),e.vastTag&&(c.vastUrl=e.vastTag),e.mediaType===o.b)c.ad=function(e,t,r){var a=p(!!r.meta.stage);return'<html>\n    <head></head>\n    <body>\n      <script async src="'.concat(a.pubTag,'"\n              data-canvas=""\n              data-noad-passback-listener=""\n              onload="window.ShowheroesTag=this"\n              data-player-host="').concat(a.vlHost,'"><\/script>\n      <div class="showheroes-spot"\n            data-debug="').concat(r.debug?"1":"",'"\n            data-player="').concat(t.playerId,'"\n            data-ad-vast-tag="').concat(e.vastTag,'"></div>\n    </body>\n  </html>')}(e,d,t);else if("outstream"===e.context){var u=n.a.install({id:e.bidId,url:"https://static.showheroes.com/renderer.js",adUnitCode:d.adUnitCode,config:{playerId:d.playerId,width:e.size.width,height:e.size.height,vastUrl:e.vastTag,vastXml:e.vastXml,debug:t.debug,isStage:!!t.meta.stage,customRender:Object(a.getBidIdParameter)("customRender",i.outstreamOptions),slot:Object(a.getBidIdParameter)("slot",i.outstreamOptions),iframe:Object(a.getBidIdParameter)("iframe",i.outstreamOptions)}});u.setRender(m),c.renderer=u}r.push(c)})),r}(e.body,t.data)},getUserSyncs:function(e,t){var r=[];if(!t.length||!t[0].body.userSync)return r;var a=t[0].body.userSync;return e.iframeEnabled&&(a.iframes||[]).forEach((function(e){r.push({type:"iframe",url:e})})),e.pixelEnabled&&(a.pixels||[]).forEach((function(e){r.push({type:"image",url:e})})),r}};function m(e){var t=function(e){var t=p(Object(a.getBidIdParameter)("isStage",e.renderer.config)),r=window.document.createDocumentFragment(),s=Object(i.a)(t.pubTag,"outstream",(function(){window.ShowheroesTag=this}));s.setAttribute("data-player-host",t.vlHost);var n=window.document.createElement("div");return n.setAttribute("class","showheroes-spot"),n.setAttribute("data-player",Object(a.getBidIdParameter)("playerId",e.renderer.config)),n.setAttribute("data-debug",Object(a.getBidIdParameter)("debug",e.renderer.config)),n.setAttribute("data-ad-vast-tag",Object(a.getBidIdParameter)("vastUrl",e.renderer.config)),n.setAttribute("data-stream-type","outstream"),r.appendChild(n),r.appendChild(s),r}(e);if("function"==typeof e.renderer.config.customRender)e.renderer.config.customRender(e,t);else try{var r=Object(a.getBidIdParameter)("iframe",e.renderer.config);if(r&&"IFRAME"===window.document.getElementById(r).nodeName){var s=window.document.getElementById(r);return void(s.contentDocument||s.contentWindow&&s.contentWindow.document).body.appendChild(t)}var n=Object(a.getBidIdParameter)("slot",e.renderer.config)||e.adUnitCode;n&&window.document.getElementById(n)?window.document.getElementById(n).appendChild(t):n&&Object(a.logError)("[ShowHeroes][renderer] Error: spot not found")}catch(e){Object(a.logError)("[ShowHeroes][renderer] Error:"+e.message)}}function h(e){return e&&e.length?Array.isArray(e[0])?e:[e]:[]}Object(d.registerBidder)(u),window.tmzr.installedModules.push("showheroes-bsBidAdapter")}},[848]);
tmzrChunk([140],{852:function(e,t,a){e.exports=a(853)},853:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSegmentsAndCategories=b,t.setGlobalOrtb2=y,t.setBidderOrtb2=O,t.loadCustomFunction=l,t.getSegAndCatsArray=h,t.addSegmentData=f,t.init=x,a.d(t,"sirdataSubmodule",(function(){return _}));var r=a(14),s=a(0),o=a(8),c=a(4),n=a(80),d=a.n(n),i=a(21),p=a(3);function m(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function u(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?m(Object(a),!0).forEach((function(t){g(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):m(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function g(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function b(e,t,a,o){var n=e.adUnits||Object(r.a)().adUnits;a.params=a.params||{};var d,p,m=o&&o.gdpr&&o.gdpr.consentString?o.gdpr.consentString:"",u=o&&o.gdpr&&o.gdpr.gdprApplies?o.gdpr.gdprApplies:"";a.params.partnerId=a.params.partnerId?a.params.partnerId:1,a.params.key=a.params.key?a.params.key:1,o.coppa||o.usp&&"1"==o.usp[0]&&("N"==o.usp[1]||"Y"==o.usp[2])?(d="cookieless-data.com",p=!1,u=null,m=""):Object(r.a)().getConfig("consentManagement.gdpr")&&(d="cookieless-data.com",p=!1),(!d||!u||Object(s.deepAccess)(o,"gdpr.vendorData.vendor.consents")&&o.gdpr.vendorData.vendor.consents[53]&&o.gdpr.vendorData.purpose.consents[1]&&o.gdpr.vendorData.purpose.consents[4])&&(d="sddan.com",p=!0);var g=a.params.actualUrl||Object(i.a)().referer,b="https://kvt."+d+"/api/v1/public/p/"+a.params.partnerId+"/d/"+a.params.key+"/s?callback=&gdpr="+u+"&gdpr_consent="+m+(g?"&url="+g:"");Object(c.a)(b,{success:function(e,r){if(200===r.status)try{var o=JSON.parse(e);o&&o.segments?f(n,o,a,t):t()}catch(e){t(),Object(s.logError)("unable to parse Sirdata data"+e)}else 204===r.status&&t()},error:function(){t(),Object(s.logError)("unable to get Sirdata data")}},null,{contentType:"text/plain",method:"GET",withCredentials:p,referrerPolicy:"unsafe-url",crossOrigin:!0})}function y(e,t){try{var a={},o=Object(r.a)().getConfig("ortb2")||{};if(Object(s.deepAccess)(o,"user.ext.data.sd_rtd")&&Object(s.deepEqual)(o.user.ext.data.sd_rtd,e)||Object(s.deepSetValue)(a,"user.ext.data.sd_rtd",e||{}),Object(s.deepAccess)(o,"site.ext.data.sd_rtd")&&Object(s.deepEqual)(o.site.ext.data.sd_rtd,t)||Object(s.deepSetValue)(a,"site.ext.data.sd_rtd",t||{}),!Object(s.isEmpty)(a)){var c={ortb2:Object(s.mergeDeep)({},o,a)};Object(r.a)().setConfig(c)}}catch(e){Object(s.logError)(e)}return!0}function O(e,t,a){try{var o={},c=Object(s.deepAccess)(p.b.getBidderConfig(),e+".ortb2")||{};if(Object(s.deepAccess)(c,"user.ext.data.sd_rtd")&&Object(s.deepEqual)(c.user.ext.data.sd_rtd,t)||Object(s.deepSetValue)(o,"user.ext.data.sd_rtd",t||{}),Object(s.deepAccess)(c,"site.ext.data.sd_rtd")&&Object(s.deepEqual)(c.site.ext.data.sd_rtd,a)||Object(s.deepSetValue)(o,"site.ext.data.sd_rtd",a||{}),!Object(s.isEmpty)(o)){var n={ortb2:Object(s.mergeDeep)({},c,o)};Object(r.a)().setBidderConfig({bidders:[e],config:n})}}catch(e){Object(s.logError)(e)}return!0}function l(e,t,a,r,o){try{"function"==typeof e&&e(t,a,r,o)}catch(e){Object(s.logError)(e)}return!0}function h(e,t){var a={segments:[],categories:[]};t=t&&"number"==typeof t?t:30;try{if(e&&e.contextual_categories)for(var r in e.contextual_categories){e.contextual_categories[r]>=t&&-1===a.categories.indexOf(r)&&a.categories.push(r.toString())}}catch(e){Object(s.logError)(e)}try{if(e&&e.segments)for(var o in e.segments)a.segments.push(e.segments[o].toString())}catch(e){Object(s.logError)(e)}return a}function f(e,t,a,o){(a=a||{}).params=a.params||{};var c=a.params.hasOwnProperty("contextualMinRelevancyScore")?a.params.contextualMinRelevancyScore:30,n=h(t,c);if(!n||n.segments.length<1&&n.categories.length<1)return Object(s.logError)("no cats"),o(),e;var i=n.segments.concat(n.categories),p={segments:[],categories:[]},m="1",g=!(!a.params||!a.params.bidders);if(g||y(n.segments,n.categories),void 0!==window.googletag&&(a.params.setGptKeyValues||!a.params.hasOwnProperty("setGptKeyValues")))try{m=a.params.gptCurationId?a.params.gptCurationId:"27449",t.shared_taxonomy&&t.shared_taxonomy[m]&&(p=h(t.shared_taxonomy[m],c)),window.googletag.pubads().getSlots().forEach((function(e){void 0!==e.setTargeting&&e.setTargeting("sd_rtd",i.concat(p.segments).concat(p.categories))}))}catch(e){Object(s.logError)(e)}var b="",f=!1;return e.forEach((function(e){g||Object(s.deepAccess)(e,"ortb2Imp.ext.data.sd_rtd")||Object(s.deepSetValue)(e,"ortb2Imp.ext.data.sd_rtd",i),e.hasOwnProperty("bids")&&e.bids.forEach((function(o){b=!!a.params.hasOwnProperty("bidders")&&d()(a.params.bidders,(function(e){return e.bidder===o.bidder})),f=!!("number"==typeof b&&b>=0);try{p={segments:[],categories:[]};var y=f&&a.params.bidders[b].hasOwnProperty("contextualMinRelevancyScore")?a.params.bidders[b].contextualMinRelevancyScore:c;if(!g||f&&(!a.params.bidders[b].hasOwnProperty("adUnitCodes")||-1!==a.params.bidders[b].adUnitCodes.indexOf(e.code)))switch(o.bidder){case"appnexus":case"appnexusAst":case"brealtime":case"emxdigital":case"pagescience":case"gourmetads":case"matomy":case"featureforward":case"oftmedia":case"districtm":case"adasta":case"beintoo":case"gravity":case"msq_classic":case"msq_max":case"366_apx":m=f&&a.params.bidders[b].hasOwnProperty("curationId")?a.params.bidders[b].curationId:"27446",t.shared_taxonomy&&t.shared_taxonomy[m]&&(p=h(t.shared_taxonomy[m],y)),f&&a.params.bidders[b].hasOwnProperty("customFunction")?l(a.params.bidders[b].customFunction,e,i.concat(p.segments).concat(p.categories),t,o):Object(s.deepSetValue)(o,"params.keywords.sd_rtd",i.concat(p.segments).concat(p.categories));break;case"smartadserver":case"smart":var x=[];o.hasOwnProperty("params")&&o.params.hasOwnProperty("target")&&x.push(o.params.target),m=f&&a.params.bidders[b].hasOwnProperty("curationId")?a.params.bidders[b].curationId:"27440",t.shared_taxonomy&&t.shared_taxonomy[m]&&(p=h(t.shared_taxonomy[m],y)),f&&a.params.bidders[b].hasOwnProperty("customFunction")?l(a.params.bidders[b].customFunction,e,i.concat(p.segments).concat(p.categories),t,o):(i.concat(p.segments).concat(p.categories).forEach((function(e){-1===x.indexOf("sd_rtd="+e)&&x.push("sd_rtd="+e)})),Object(s.deepSetValue)(o,"params.target",x.join(";")));break;case"rubicon":m=f&&a.params.bidders[b].hasOwnProperty("curationId")?a.params.bidders[b].curationId:"27452",t.shared_taxonomy&&t.shared_taxonomy[m]&&(p=h(t.shared_taxonomy[m],y)),f&&a.params.bidders[b].hasOwnProperty("customFunction")?l(a.params.bidders[b].customFunction,e,i.concat(p.segments).concat(p.categories),t,o):O(o.bidder,t.segments.concat(p.segments),i.concat(p.segments).concat(p.categories));break;case"ix":if(!Object(r.a)().getConfig("ix.firstPartyData.sd_rtd"))if(m=f&&a.params.bidders[b].hasOwnProperty("curationId")?a.params.bidders[b].curationId:"27248",t.shared_taxonomy&&t.shared_taxonomy[m]&&(p=h(t.shared_taxonomy[m],y)),f&&a.params.bidders[b].hasOwnProperty("customFunction"))l(a.params.bidders[b].customFunction,e,i.concat(p.segments).concat(p.categories),t,o);else{var _=[],j=0,v=f&&a.params.bidders[b].hasOwnProperty("sizeLimit")?a.params.bidders[b].sizeLimit:1e3;i.concat(p.segments).concat(p.categories).forEach((function(e){j<v&&(_.push(e),j+=e.toString().length)})),Object(r.a)().setConfig({ix:{firstPartyData:{sd_rtd:_}}})}break;case"proxistore":m=f&&a.params.bidders[b].hasOwnProperty("curationId")?a.params.bidders[b].curationId:"27484",t.shared_taxonomy&&t.shared_taxonomy[m]?p=h(t.shared_taxonomy[m],y):t.shared_taxonomy[m]={contextual_categories:{}},f&&a.params.bidders[b].hasOwnProperty("customFunction")?l(a.params.bidders[b].customFunction,e,i.concat(p.segments).concat(p.categories),t,o):Object(s.deepSetValue)(o,"ortb2.user.ext.data",{segments:n.segments.concat(p.segments),contextual_categories:u(u({},t.contextual_categories),t.shared_taxonomy[m].contextual_categories)});break;case"criteo":m=f&&a.params.bidders[b].hasOwnProperty("curationId")?a.params.bidders[b].curationId:"27443",t.shared_taxonomy&&t.shared_taxonomy[m]&&(p=h(t.shared_taxonomy[m],y)),f&&a.params.bidders[b].hasOwnProperty("customFunction")?l(a.params.bidders[b].customFunction,e,i.concat(p.segments).concat(p.categories),t,o):O(o.bidder,i.concat(p.segments).concat(p.categories),i.concat(p.segments).concat(p.categories));break;case"triplelift":m=f&&a.params.bidders[b].hasOwnProperty("curationId")?a.params.bidders[b].curationId:"27518",t.shared_taxonomy&&t.shared_taxonomy[m]&&(p=h(t.shared_taxonomy[m],y)),f&&a.params.bidders[b].hasOwnProperty("customFunction")?l(a.params.bidders[b].customFunction,e,i.concat(p.segments).concat(p.categories),t,o):O(o.bidder,t.segments.concat(p.segments),i.concat(p.segments).concat(p.categories));break;case"avct":case"avocet":m=f&&a.params.bidders[b].hasOwnProperty("curationId")?a.params.bidders[b].curationId:"27522",t.shared_taxonomy&&t.shared_taxonomy[m]&&(p=h(t.shared_taxonomy[m],y)),f&&a.params.bidders[b].hasOwnProperty("customFunction")?l(a.params.bidders[b].customFunction,e,i.concat(p.segments).concat(p.categories),t,o):O(o.bidder,t.segments.concat(p.segments),i.concat(p.segments).concat(p.categories));break;case"smaato":m=f&&a.params.bidders[b].hasOwnProperty("curationId")?a.params.bidders[b].curationId:"27520",t.shared_taxonomy&&t.shared_taxonomy[m]&&(p=h(t.shared_taxonomy[m],y)),f&&a.params.bidders[b].hasOwnProperty("customFunction")?l(a.params.bidders[b].customFunction,e,i.concat(p.segments).concat(p.categories),t,o):O(o.bidder,t.segments.concat(p.segments),i.concat(p.segments).concat(p.categories));break;default:g&&!f||(Object(s.deepAccess)(o,"ortb2.site.ext.data.sd_rtd")||Object(s.deepSetValue)(o,"ortb2.site.ext.data.sd_rtd",n.categories),Object(s.deepAccess)(o,"ortb2.user.ext.data.sd_rtd")||Object(s.deepSetValue)(o,"ortb2.user.ext.data.sd_rtd",n.segments))}}catch(e){Object(s.logError)(e)}}))})),o(),e}function x(e){return!0}var _={name:"SirdataRTDModule",init:x,getBidRequestData:b};Object(o.e)("realTimeData",_),window.tmzr.installedModules.push("sirdataRtdProvider")}},[852]);
tmzrChunk([23],{15:function(e,t,r){"use strict";t.b=function(e){var t=[];for(var r in e)if(e.hasOwnProperty(r))if("pubProvidedId"===r)t=t.concat(e.pubProvidedId);else{var a=s(e[r],r);a&&t.push(a)}return t},t.a=function(e){var t=[];return e.filter((function(e){return Object(a.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length})).forEach((function(e){Object.keys(e.idObj).forEach((function(r){Object(a.deepAccess)(e,"config.bidders")&&Array.isArray(e.config.bidders)&&Object(a.deepAccess)(i,r+".source")&&t.push({source:i[r].source,bidders:e.config.bidders})}))})),t};var a=r(0),i={trustpid:{source:"trustpid.com",atype:1,getValue:function(e){return e}},intentIqId:{source:"intentiq.com",atype:1},naveggId:{source:"navegg.com",atype:1},justId:{source:"justtag.com",atype:1},pubcid:{source:"pubcid.org",atype:1},tdid:{source:"adserver.org",atype:1,getUidExt:function(){return{rtiPartner:"TDID"}}},id5id:{getValue:function(e){return e.uid},source:"id5-sync.com",atype:1,getUidExt:function(e){if(e.ext)return e.ext}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var t=Object(a.pick)(e,["ibaOptout","ccpaOptout"]);if(Object.keys(t).length)return t}},idl_env:{source:"liveramp.com",atype:3},lipb:{getValue:function(e){return e.lipbid},source:"liveintent.com",atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},britepoolid:{source:"britepool.com",atype:3},dmdId:{source:"hcn.health",atype:3},lotamePanoramaId:{source:"crwdcntrl.net",atype:1},criteoId:{source:"criteo.com",atype:1},merkleId:{source:"merkleinc.com",atype:3,getValue:function(e){return e.id},getUidExt:function(e){return e&&e.keyID?{keyID:e.keyID}:void 0}},netId:{source:"netid.de",atype:1},IDP:{source:"zeotap.com",atype:1},hadronId:{source:"audigent.com",atype:1},haloId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},nextrollId:{source:"nextroll.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(e){return e.snowflake},source:"novatiq.com",atype:1},uid2:{source:"uidapi.com",atype:3,getValue:function(e){return e.id}},dapId:{source:"akamai.com",atype:1},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3},adtelligentId:{source:"adtelligent.com",atype:3},amxId:{source:"amxrtb.com",atype:1},publinkId:{source:"epsilon.com",atype:3},kpuid:{source:"kpuid.com",atype:3},imuid:{source:"intimatemerger.com",atype:1},connectId:{source:"yahoo.com",atype:3},qid:{source:"adquery.io",atype:1}};function s(e,t){var r=i[t];if(r&&e){var s={};s.source=r.source;var o=Object(a.isFn)(r.getValue)?r.getValue(e):e;if(Object(a.isStr)(o)){var n={id:o,atype:r.atype};if(Object(a.isFn)(r.getUidExt)){var d=r.getUidExt(e);d&&(n.ext=d)}if(s.uids=[n],Object(a.isFn)(r.getEidExt)){var c=r.getEidExt(e);c&&(s.ext=c)}return s}}return null}},860:function(e,t,r){e.exports=r(861)},861:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r.d(t,"spec",(function(){return d}));var a=r(0),i=r(2),s=r(3),o=r(15),n=r(1),d={code:"smartadserver",gvlid:45,aliases:["smart"],supportedMediaTypes:[i.b,i.d],isBidRequestValid:function(e){return!!(e.params&&e.params.siteId&&e.params.pageId&&e.params.formatId)},serializeSupplyChain:function(e){if(!e||!e.nodes)return null;var t=["asi","sid","hp","rid","name","domain"];return"".concat(e.ver,",").concat(e.complete,"!")+e.nodes.map((function(e){return t.map((function(t){return e[t]?encodeURIComponent(e[t]):""})).join(",")})).join("!")},adaptBannerSizes:function(e){return e.map((function(e){return{w:e[0],h:e[1]}}))},fillPayloadForVideoBidRequest:function(e,t,r){var a=t.playerSize[0];e.isVideo="instream"===t.context,e.mediaType=i.d,e.videoData={videoProtocol:this.getProtocolForVideoBidRequest(t,r),playerWidth:a[0],playerHeight:a[1],adBreak:this.getStartDelayForVideoBidRequest(t,r)}},getProtocolForVideoBidRequest:function(e,t){return void 0!==t&&t.protocol?t.protocol:void 0!==e&&Array.isArray(e.protocols)?Math.max.apply(Math,e.protocols):null},getStartDelayForVideoBidRequest:function(e,t){if(void 0!==t&&t.startDelay)return t.startDelay;if(void 0!==e){if(0==e.startdelay)return 1;if(-1==e.startdelay)return 2;if(-2==e.startdelay)return 3}return 2},createServerRequest:function(e,t){return{method:"POST",url:(void 0!==t?t:"https://prg.smartadserver.com")+"/prebid/v1",data:JSON.stringify(e)}},buildRequests:function(e,t){var r=s.b.getConfig("currency.adServerCurrency");return e.reduce((function(e,i){i.sizes[0]&&300==i.sizes[0][0]&&250==i.sizes[0][1]&&(i.sizes=[[300,250],[250,250]]),i.sizes[0]&&970==i.sizes[0][0]&&250==i.sizes[0][1]&&(i.sizes=[[970,250],[970,90],[750,200],[750,100],[950,90],[900,250],[728,90],[800,250],[950,250]]),i.sizes[0]&&300==i.sizes[0][0]&&600==i.sizes[0][1]&&(i.sizes=[[300,600],[300,250],[160,600],[300,800],[300,1050]]),i.sizes[0]&&728==i.sizes[0][0]&&90==i.sizes[0][1]&&(i.sizes=[[728,90],[468,60]]),i.sizes[0]&&160==i.sizes[0][0]&&600==i.sizes[0][1]&&(i.sizes=[[160,600],[120,600]]);var n={siteid:i.params.siteId,pageid:i.params.pageId,formatid:i.params.formatId,currencyCode:r,bidfloor:i.params.bidfloor||d.getBidFloor(i,r),targeting:i.params.target&&""!==i.params.target?i.params.target:void 0,buid:i.params.buId&&""!==i.params.buId?i.params.buId:void 0,appname:i.params.appName&&""!==i.params.appName?i.params.appName:void 0,ckid:i.params.ckId||0,tagId:i.adUnitCode,pageDomain:t&&t.refererInfo&&t.refererInfo.referer?t.refererInfo.referer:void 0,transactionId:i.transactionId,timeout:s.b.getConfig("bidderTimeout"),bidId:i.bidId,prebidVersion:"6.13.0",schain:d.serializeSupplyChain(i.schain)};t&&t.gdprConsent&&(n.addtl_consent=t.gdprConsent.addtlConsent,n.gdpr_consent=t.gdprConsent.consentString,n.gdpr=t.gdprConsent.gdprApplies),i&&i.userId&&(n.eids=Object(o.b)(i.userId)),t&&t.uspConsent&&(n.us_privacy=t.uspConsent);var c=Object(a.deepAccess)(i,"mediaTypes.video"),u=Object(a.deepAccess)(i,"mediaTypes.banner"),p=c&&("instream"===c.context||"outstream"===c.context);if(!p&&u)n.sizes=d.adaptBannerSizes(u.sizes),e.push(d.createServerRequest(n,i.params.domain));else if(p&&!u)d.fillPayloadForVideoBidRequest(n,c,i.params.video),e.push(d.createServerRequest(n,i.params.domain));else if(p&&u){var l=Object(a.deepClone)(n);d.fillPayloadForVideoBidRequest(l,c,i.params.video),e.push(d.createServerRequest(l,i.params.domain)),n.sizes=d.adaptBannerSizes(u.sizes),e.push(d.createServerRequest(n,i.params.domain))}else e.push({});return e}),[])},interpretResponse:function(e,t){var r=[],s=e.body;try{if(s&&!s.isNoAd){var o=JSON.parse(t.data),n={requestId:o.bidId,cpm:s.cpm,width:s.width,height:s.height,creativeId:s.creativeId,dealId:s.dealId,currency:s.currency,netRevenue:s.isNetCpm,ttl:s.ttl,dspPixels:s.dspPixels,meta:{advertiserDomains:s.adomain?s.adomain:[]}};o.mediaType===i.d?(n.mediaType=i.d,n.vastUrl=s.adUrl,n.vastXml=s.ad,n.content=s.ad):(n.adUrl=s.adUrl,n.ad=s.ad),r.push(n)}}catch(e){Object(a.logError)("Error while parsing smart server response",e)}return r},getBidFloor:function(e,t){if(!Object(a.isFn)(e.getFloor))return 0;var r=e.getFloor({currency:t||"USD",mediaType:"*",size:"*"});return Object(a.isPlainObject)(r)&&!isNaN(r.floor)?r.floor:0},getUserSyncs:function(e,t){var r=[];return e.iframeEnabled&&t.length>0&&null!=t[0].body.cSyncUrl?r.push({type:"iframe",url:t[0].body.cSyncUrl}):e.pixelEnabled&&t.length>0&&void 0!==t[0].body.dspPixels&&t[0].body.dspPixels.forEach((function(e){r.push({type:"image",url:e})})),r}};Object(n.registerBidder)(d),window.tmzr.installedModules.push("smartadserverBidAdapter")}},[860]);
tmzrChunk([133],{868:function(e,r,t){e.exports=t(869)},869:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),t.d(r,"spec",(function(){return s}));var n=t(0),i=t(13),a=t(3),d=t(1),o=t(2),s={code:"smilewanted",aliases:["smile","sw"],supportedMediaTypes:[o.b,o.d],isBidRequestValid:function(e){return!(!e.params||!e.params.zoneId)},buildRequests:function(e,r){return e.map((function(e){var t={zoneId:e.params.zoneId,currencyCode:a.b.getConfig("currency.adServerCurrency")||"EUR",tagId:e.adUnitCode,sizes:e.sizes.map((function(e){return{w:e[0],h:e[1]}})),transactionId:e.transactionId,timeout:a.b.getConfig("bidderTimeout"),bidId:e.bidId,positionType:e.params.positionType||"",prebidVersion:"6.13.0"},i=function(e){if(Object(n.isFn)(e.getFloor)){var r=e.getFloor({currency:"USD",mediaType:"banner",size:e.sizes.map((function(e){return{w:e[0],h:e[1]}}))});if(Object(n.isPlainObject)(r)&&!isNaN(r.floor)&&"USD"===r.currency)return parseFloat(r.floor)}return null}(e);return i&&(t.bidfloor=i),e.params.bidfloor&&(t.bidfloor=e.params.bidfloor),r&&r.refererInfo&&(t.pageDomain=r.refererInfo.referer||""),r&&r.gdprConsent&&(t.gdpr_consent=r.gdprConsent.consentString,t.gdpr=r.gdprConsent.gdprApplies),{method:"POST",url:"https://prebid.smilewanted.com",data:JSON.stringify(t)}}))},interpretResponse:function(e,r){var t=[],a=e.body;try{if(a){var d=a.dealId||"",o={requestId:JSON.parse(r.data).bidId,cpm:a.cpm,width:a.width,height:a.height,creativeId:a.creativeId,dealId:a.dealId,currency:a.currency,netRevenue:a.isNetCpm,ttl:a.ttl,ad:a.ad};"video_instream"!=a.formatTypeSw&&"video_outstream"!=a.formatTypeSw||(o.mediaType="video",o.vastUrl=a.ad,o.ad=null),"video_outstream"==a.formatTypeSw&&(o.renderer=function(e,r){var t=i.a.install({id:e.bidId,url:r.OustreamTemplateUrl,loaded:!1});try{t.setRender(c)}catch(e){Object(n.logWarn)("Prebid Error calling setRender on newRenderer",e)}return t}(JSON.parse(r.data),a)),d.length>0&&(o.dealId=d),o.meta={},a.meta&&a.meta.advertiserDomains&&Object(n.isArray)(a.meta.advertiserDomains)&&(o.meta.advertiserDomains=a.meta.advertiserDomains),t.push(o)}}catch(e){Object(n.logError)("Error while parsing smilewanted response",e)}return t},getUserSyncs:function(e,r,t,n){var i="";t&&"string"==typeof t.consentString&&("boolean"==typeof t.gdprApplies?i+="?gdpr=".concat(Number(t.gdprApplies),"&gdpr_consent=").concat(t.consentString):i+="?gdpr_consent=".concat(t.consentString)),n&&(i+="".concat(i?"&":"?","us_privacy=").concat(encodeURIComponent(n)));var a=[];return e.iframeEnabled&&a.push({type:"iframe",url:"https://csync.smilewanted.com"+i}),a}};function c(e){e.renderer.push((function(){window.SmileWantedOutStreamInit({width:e.width,height:e.height,vastUrl:e.vastUrl,elId:e.adUnitCode})}))}Object(d.registerBidder)(s),window.tmzr.installedModules.push("smilewantedBidAdapter")}},[868]);
tmzrChunk([18],{15:function(e,t,r){"use strict";t.b=function(e){var t=[];for(var r in e)if(e.hasOwnProperty(r))if("pubProvidedId"===r)t=t.concat(e.pubProvidedId);else{var n=c(e[r],r);n&&t.push(n)}return t},t.a=function(e){var t=[];return e.filter((function(e){return Object(n.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length})).forEach((function(e){Object.keys(e.idObj).forEach((function(r){Object(n.deepAccess)(e,"config.bidders")&&Array.isArray(e.config.bidders)&&Object(n.deepAccess)(i,r+".source")&&t.push({source:i[r].source,bidders:e.config.bidders})}))})),t};var n=r(0),i={trustpid:{source:"trustpid.com",atype:1,getValue:function(e){return e}},intentIqId:{source:"intentiq.com",atype:1},naveggId:{source:"navegg.com",atype:1},justId:{source:"justtag.com",atype:1},pubcid:{source:"pubcid.org",atype:1},tdid:{source:"adserver.org",atype:1,getUidExt:function(){return{rtiPartner:"TDID"}}},id5id:{getValue:function(e){return e.uid},source:"id5-sync.com",atype:1,getUidExt:function(e){if(e.ext)return e.ext}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var t=Object(n.pick)(e,["ibaOptout","ccpaOptout"]);if(Object.keys(t).length)return t}},idl_env:{source:"liveramp.com",atype:3},lipb:{getValue:function(e){return e.lipbid},source:"liveintent.com",atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},britepoolid:{source:"britepool.com",atype:3},dmdId:{source:"hcn.health",atype:3},lotamePanoramaId:{source:"crwdcntrl.net",atype:1},criteoId:{source:"criteo.com",atype:1},merkleId:{source:"merkleinc.com",atype:3,getValue:function(e){return e.id},getUidExt:function(e){return e&&e.keyID?{keyID:e.keyID}:void 0}},netId:{source:"netid.de",atype:1},IDP:{source:"zeotap.com",atype:1},hadronId:{source:"audigent.com",atype:1},haloId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},nextrollId:{source:"nextroll.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(e){return e.snowflake},source:"novatiq.com",atype:1},uid2:{source:"uidapi.com",atype:3,getValue:function(e){return e.id}},dapId:{source:"akamai.com",atype:1},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3},adtelligentId:{source:"adtelligent.com",atype:3},amxId:{source:"amxrtb.com",atype:1},publinkId:{source:"epsilon.com",atype:3},kpuid:{source:"kpuid.com",atype:3},imuid:{source:"intimatemerger.com",atype:1},connectId:{source:"yahoo.com",atype:3},qid:{source:"adquery.io",atype:1}};function c(e,t){var r=i[t];if(r&&e){var c={};c.source=r.source;var a=Object(n.isFn)(r.getValue)?r.getValue(e):e;if(Object(n.isStr)(a)){var o={id:a,atype:r.atype};if(Object(n.isFn)(r.getUidExt)){var u=r.getUidExt(e);u&&(o.ext=u)}if(c.uids=[o],Object(n.isFn)(r.getEidExt)){var s=r.getEidExt(e);s&&(c.ext=s)}return c}}return null}},880:function(e,t,r){e.exports=r(881)},881:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r.d(t,"spec",(function(){return b}));var n=r(0),i=r(1),c=r(2),a=r(15),o=r(3);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){d(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var p={mimes:function(e){return Array.isArray(e)&&e.length>0&&e.every((function(e){return"string"==typeof e}))},minduration:function(e){return Object(n.isInteger)(e)},maxduration:function(e){return Object(n.isInteger)(e)},protocols:function(e){return Array.isArray(e)&&e.every((function(e){return e>=1&&e<=10}))},w:function(e){return Object(n.isInteger)(e)},h:function(e){return Object(n.isInteger)(e)},startdelay:function(e){return Object(n.isInteger)(e)},placement:function(e){return Object(n.isInteger)(e)&&e>=1&&e<=5},linearity:function(e){return-1!==[1,2].indexOf(e)},skip:function(e){return-1!==[0,1].indexOf(e)},skipmin:function(e){return Object(n.isInteger)(e)},skipafter:function(e){return Object(n.isInteger)(e)},sequence:function(e){return Object(n.isInteger)(e)},battr:function(e){return Array.isArray(e)&&e.every((function(e){return e>=1&&e<=17}))},maxextended:function(e){return Object(n.isInteger)(e)},minbitrate:function(e){return Object(n.isInteger)(e)},maxbitrate:function(e){return Object(n.isInteger)(e)},boxingallowed:function(e){return-1!==[0,1].indexOf(e)},playbackmethod:function(e){return Array.isArray(e)&&e.every((function(e){return e>=1&&e<=6}))},playbackend:function(e){return-1!==[1,2,3].indexOf(e)},delivery:function(e){return Array.isArray(e)&&e.every((function(e){return e>=1&&e<=3}))},pos:function(e){return Object(n.isInteger)(e)&&e>=1&&e<=7},api:function(e){return Array.isArray(e)&&e.every((function(e){return e>=1&&e<=6}))}},b={code:"sovrn",supportedMediaTypes:[c.b,c.d],gvlid:13,isBidRequestValid:function(e){return!(!e.params.tagid||isNaN(parseFloat(e.params.tagid))||!isFinite(e.params.tagid)||Object(n.deepAccess)(e,"mediaTypes.video.context")===c.a)},buildRequests:function(e,t){try{var r,i,c,u,d=[],b=[];Object(n._each)(e,(function(e){!c&&e.userId&&(c=Object(a.b)(e.userId)).forEach((function(e){e.uids&&e.uids[0]&&("criteo.com"===e.source&&(u=e.uids[0].id),b.push({source:e.source,uid:e.uids[0].id}))})),e.schain&&(i=i||e.schain),r=r||Object(n.getBidIdParameter)("iv",e.params);var t=e.getFloor&&"function"==typeof e.getFloor?e.getFloor({currency:"USD",mediaType:e.mediaTypes&&e.mediaTypes.banner?"banner":"video",size:"*"}):{};t.floor=t.floor||Object(n.getBidIdParameter)("bidfloor",e.params);var o={adunitcode:e.adUnitCode,id:e.bidId,tagid:String(Object(n.getBidIdParameter)("tagid",e.params)),bidfloor:t.floor};if(Object(n.deepAccess)(e,"mediaTypes.banner")){var f=Object(n.deepAccess)(e,"mediaTypes.banner.sizes")||e.sizes,l=(f=(f=Object(n.isArray)(f)&&Object(n.isArray)(f[0])?f:[f]).filter((function(e){return Object(n.isArray)(e)}))).map((function(e){return{w:parseInt(e[0],10),h:parseInt(e[1],10)}}));o.banner={format:l,w:1,h:1}}Object(n.deepAccess)(e,"mediaTypes.video")&&(o.video=function(e){var t={},r=Object(n.deepAccess)(e,"mediaTypes.video",{}),i=Object(n.deepAccess)(e,"params.video",{}),c={};if(Array.isArray(r.playerSize)){var a=Array.isArray(r.playerSize[0])?r.playerSize[0]:r.playerSize;c.w=a[0],c.h=a[1]}var o=s(s(s({},c),r),i);return Object.keys(p).forEach((function(e){o.hasOwnProperty(e)&&(p[e](o[e])?t[e]=o[e]:Object(n.logWarn)("The OpenRTB video param ".concat(e," has been skipped due to misformating. Please refer to OpenRTB 2.5 spec.")))})),t}(e)),o.ext=Object(n.getBidIdParameter)("ext",e.ortb2Imp)||void 0;var y=Object(n.getBidIdParameter)("segments",e.params);y&&(o.ext=o.ext||{},o.ext.deals=y.split(",").map((function(e){return e.trim()}))),d.push(o)}));var f=Object(n.deepClone)(o.b.getConfig("ortb2")),l=f.site||{};l.page=t.refererInfo.referer,l.domain=Object(n.parseUrl)(l.page).hostname;var y={id:Object(n.getUniqueIdentifierStr)(),imp:d,site:l,user:f.user||{}};i&&(y.source={ext:{schain:i}}),t.gdprConsent&&(Object(n.deepSetValue)(y,"regs.ext.gdpr",+t.gdprConsent.gdprApplies),Object(n.deepSetValue)(y,"user.ext.consent",t.gdprConsent.consentString)),t.uspConsent&&Object(n.deepSetValue)(y,"regs.ext.us_privacy",t.uspConsent),c&&(Object(n.deepSetValue)(y,"user.ext.eids",c),Object(n.deepSetValue)(y,"user.ext.tpid",b),u&&Object(n.deepSetValue)(y,"user.ext.prebid_criteoid",u));var m="https://ap.lijit.com/rtb/bid?src=prebid_prebid_6.13.0";return r&&(m+="&iv=".concat(r)),{method:"POST",url:m,data:JSON.stringify(y),options:{contentType:"text/plain"}}}catch(e){Object(n.logError)("Could not build bidrequest, error deatils:",e)}},interpretResponse:function(e){var t=e.body,r=t.id,i=t.seatbid;try{var a=[];return r&&i&&i.length>0&&i[0].bid&&i[0].bid.length>0&&i[0].bid.map((function(e){var t={requestId:e.impid,cpm:parseFloat(e.price),width:parseInt(e.w),height:parseInt(e.h),creativeId:e.crid||e.id,dealId:e.dealid||null,currency:"USD",netRevenue:!0,ttl:e.ext&&e.ext.ttl||90,meta:{advertiserDomains:e&&e.adomain?e.adomain:[]}};e.nurl?(t.mediaType=c.b,t.ad=decodeURIComponent("".concat(e.adm,'<img src="').concat(e.nurl,'">'))):(t.mediaType=c.d,t.vastXml=decodeURIComponent(e.adm)),a.push(t)})),a}catch(e){Object(n.logError)("Could not intrepret bidresponse, error deatils:",e)}},getUserSyncs:function(e,t,r,i){try{var c=[];if(t&&0!==t.length){if(e.iframeEnabled){var a=t.filter((function(e){return Object(n.deepAccess)(e,"body.ext.iid")})).map((function(e){return e.body.ext.iid})),o=[];r&&r.gdprApplies&&"string"==typeof r.consentString&&o.push(["gdpr_consent",r.consentString]),i&&o.push(["us_privacy",i]),a[0]&&(o.push(["informer",a[0]]),c.push({type:"iframe",url:"https://ap.lijit.com/beacon?"+o.map((function(e){return e.join("=")})).join("&")}))}e.pixelEnabled&&t.filter((function(e){return Object(n.deepAccess)(e,"body.ext.sync.pixels")})).reduce((function(e,t){return e.concat(t.body.ext.sync.pixels)}),[]).map((function(e){return e.url})).forEach((function(e){return c.push({type:"image",url:e})}))}return c}catch(e){return[]}}};Object(i.registerBidder)(b),window.tmzr.installedModules.push("sovrnBidAdapter")}},[880]);
tmzrChunk([122],{902:function(e,t,r){e.exports=r(903)},903:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r.d(t,"storage",(function(){return y})),r.d(t,"spec",(function(){return l}));var n=r(0),i=r(1),a=r(7);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var d="teads",p=12,u=11,f=0,b=22,g="_tfpvi",y=Object(a.b)(132,d),l={code:d,gvlid:132,supportedMediaTypes:["video","banner"],isBidRequestValid:function(e){var t=!1;if(void 0!==e.params){var r=I(Object(n.getValue)(e.params,"placementId")),i=I(Object(n.getValue)(e.params,"pageId"));t=r&&i}return t||Object(n.logError)("Teads placementId and pageId parameters are required. Bid aborted."),t},buildRequests:function(e,t){var r,i,a=e.map(O),o=s(s(s({referrer:m(t),pageReferrer:document.referrer,networkBandwidth:(i=window.navigator,i&&i.connection&&i.connection.downlink>=0?i.connection.downlink.toString():""),timeToFirstByte:v(window),data:a,deviceWidth:screen.width,hb_version:"6.13.0"},function(e){if(!e)return{};var t=e.id?{cohortId:e.id}:{},r=e.version?{cohortVersion:e.version}:{};return s(s({},t),r)}(Object(n.deepAccess)(e,"0.userId.flocId"))),(r=Object(n.deepAccess)(e,"0.userId.uid2"))?{unifiedId2:r.id}:{}),function(){if(!y.cookiesAreEnabled())return{};var e=y.getCookie(g);return e?{firstPartyCookieTeadsId:e}:{}}());e[0].schain&&(o.schain=e[0].schain);var c=t.gdprConsent;if(t&&c){var d="boolean"==typeof c.gdprApplies,l="string"==typeof c.consentString,I=d?function(e,t,r){var n=p;e?function(e,t){return e&&1===t?e.hasGlobalScope||e.hasGlobalConsent:!(!e||2!==t)&&!e.isServiceSpecific}(t,r)&&(n=u):n=f;return n}(c.gdprApplies,c.vendorData,c.apiVersion):b;o.gdpr_iab={consent:l?c.consentString:"",status:I,apiVersion:c.apiVersion}}return t&&t.uspConsent&&(o.us_privacy=t.uspConsent),{method:"POST",url:"https://a.teads.tv/hb/bid-request",data:JSON.stringify(o)}},interpretResponse:function(e,t){var r=[];return(e=e.body).responses&&e.responses.forEach((function(e){var t={cpm:e.cpm,width:e.width,height:e.height,currency:e.currency,netRevenue:!0,ttl:e.ttl,meta:{advertiserDomains:e&&e.adomain?e.adomain:[]},ad:e.ad,requestId:e.bidId,creativeId:e.creativeId,placementId:e.placementId};e.dealId&&(t.dealId=e.dealId),r.push(t)})),r}};function m(e){var t="";return e&&e.refererInfo&&e.refererInfo.referer&&(t=e.refererInfo.referer),t}function v(e){var t=e.performance||e.webkitPerformance||e.msPerformance||e.mozPerformance,r=t&&"function"==typeof t.getEntriesByType&&"[object Function]"===Object.prototype.toString.call(t.getEntriesByType)&&t.getEntriesByType("navigation")[0]&&t.getEntriesByType("navigation")[0].responseStart&&t.getEntriesByType("navigation")[0].requestStart&&t.getEntriesByType("navigation")[0].responseStart>0&&t.getEntriesByType("navigation")[0].requestStart>0&&Math.round(t.getEntriesByType("navigation")[0].responseStart-t.getEntriesByType("navigation")[0].requestStart);if(r)return r.toString();var n=t&&t.timing.responseStart&&t.timing.requestStart&&t.timing.responseStart>0&&t.timing.requestStart>0&&t.timing.responseStart-t.timing.requestStart;return n?n.toString():""}function O(e){var t={},r=Object(n.getValue)(e.params,"placementId"),i=Object(n.getValue)(e.params,"pageId"),a=Object(n.deepAccess)(e,"ortb2Imp.ext.gpid");return t.sizes=function(e){return Object(n.parseSizesInput)(function(e){var t=Object(n.deepAccess)(e,"mediaTypes.video.playerSize"),r=Object(n.deepAccess)(e,"mediaTypes.video.sizes"),i=Object(n.deepAccess)(e,"mediaTypes.banner.sizes");return Object(n.isArray)(i)||Object(n.isArray)(t)||Object(n.isArray)(r)?[i,r,t].reduce((function(e,t){return Object(n.isArray)(t)&&(Object(n.isArray)(t[0])?t.forEach((function(t){e.push(t)})):e.push(t)),e}),[]):e.sizes}(e))}(e),t.bidId=Object(n.getBidIdParameter)("bidId",e),t.bidderRequestId=Object(n.getBidIdParameter)("bidderRequestId",e),t.placementId=parseInt(r,10),t.pageId=parseInt(i,10),t.adUnitCode=Object(n.getBidIdParameter)("adUnitCode",e),t.auctionId=Object(n.getBidIdParameter)("auctionId",e),t.transactionId=Object(n.getBidIdParameter)("transactionId",e),a&&(t.gpid=a),t}function I(e){return parseInt(e)>0}Object(i.registerBidder)(l),window.tmzr.installedModules.push("teadsBidAdapter")}},[902]);
tmzrChunk([115],{918:function(e,t,r){e.exports=r(919)},919:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r.d(t,"tripleliftAdapterSpec",(function(){return m}));var n=r(0),i=r(2),o=r(1),u=r(3);function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var y=!0,b=null,m={gvlid:28,code:"triplelift",supportedMediaTypes:[i.b,i.d],isBidRequestValid:function(e){return void 0!==e.params.inventoryCode},buildRequests:function(e,t){var r="https://tlx.3lift.com/header/auction?",i=function(e){var t={},r=e[0].schain,i=function(){var e={},t={},r={},i=u.b.getLegacyFpd(u.b.getConfig("ortb2"))||{},o=c({},i.context),a=c({},i.user);O(t,o),O(r,a),Object(n.isEmpty)(t)||(e.context=t);Object(n.isEmpty)(r)||(e.user=r);return e}();t.imp=e.map((function(e,t){var r={id:t,tagid:e.params.inventoryCode,floor:v(e)};return g(e)?r.video=function(e){var t=d(d({},e.params.video),e.mediaTypes.video);t.w||(t.w=t.playerSize[0][0]);t.h||(t.h=t.playerSize[0][1]);"instream"===t.context&&(t.placement=1);return delete t.playerSize,t}(e):e.mediaTypes.banner&&(r.banner={format:h(e.sizes)}),Object(n.isEmpty)(e.ortb2Imp)||(r.fpd=function(e){var t={},r={};O(r,e.ext),Object(n.isEmpty)(r)||(t.context=r);return t}(e.ortb2Imp)),r}));var o=[].concat(l((a=[e[0]],j(a,"tdid","adserver.org","TDID"))),l(function(e){return j(e,"idl_env","liveramp.com","idl")}([e[0]])),l(function(e){return j(e,"criteoId","criteo.com","criteoId")}([e[0]])),l(function(e){return j(e,"pubcid","pubcid.org","pubcid")}([e[0]])));var a;o.length>0&&(t.user={ext:{eids:o}});var p=function(e,t){var r={};Object(n.isEmpty)(e)||(r.schain=d({},e));Object(n.isEmpty)(t)||(r.fpd=d({},t));return r}(r,i);Object(n.isEmpty)(p)||(t.ext=p);return t}(e);if(r=Object(n.tryAppendQueryString)(r,"lib","prebid"),r=Object(n.tryAppendQueryString)(r,"v","6.13.0"),t&&t.refererInfo){var o=t.refererInfo.referer;r=Object(n.tryAppendQueryString)(r,"referrer",o)}return t&&t.timeout&&(r=Object(n.tryAppendQueryString)(r,"tmax",t.timeout)),t&&t.gdprConsent&&(void 0!==t.gdprConsent.gdprApplies&&(y=t.gdprConsent.gdprApplies,r=Object(n.tryAppendQueryString)(r,"gdpr",y.toString())),void 0!==t.gdprConsent.consentString&&(b=t.gdprConsent.consentString,r=Object(n.tryAppendQueryString)(r,"cmp_cs",b))),t&&t.uspConsent&&(r=Object(n.tryAppendQueryString)(r,"us_privacy",t.uspConsent)),!0===u.b.getConfig("coppa")&&(r=Object(n.tryAppendQueryString)(r,"coppa",!0)),r.lastIndexOf("&")===r.length-1&&(r=r.substring(0,r.length-1)),Object(n.logMessage)("tlCall request built: "+r),{method:"POST",url:r,data:i,bidderRequest:t}},interpretResponse:function(e,t){var r=t.bidderRequest;return(e.body.bids||[]).map((function(e){return function(e,t){var r={},n=t.width||1,i=t.height||1,o=t.deal_id||"",u=t.crid||"",c=e.bids[t.imp_id];0!=t.cpm&&t.ad&&(r={requestId:c.bidId,cpm:t.cpm,width:n,height:i,netRevenue:!0,ad:t.ad,creativeId:u,dealId:o,currency:"USD",ttl:300,tl_source:t.tl_source,meta:{}},g(c)&&(r.vastXml=t.ad,r.mediaType="video",r.ttl=3600),t.advertiser_name&&(r.meta.advertiserName=t.advertiser_name),t.adomain&&t.adomain.length&&(r.meta.advertiserDomains=t.adomain),t.tl_source&&"hdx"==t.tl_source&&(r.meta.mediaType="banner"),t.tl_source&&"tlx"==t.tl_source&&(r.meta.mediaType="native"));return r}(r,e)}))},getUserSyncs:function(e,t,r,i){var o=function(e){if(!e)return;if(e.iframeEnabled)return"iframe";if(e.pixelEnabled)return"image"}(e);if(o){var u="https://eb2.3lift.com/sync?";return"image"===o&&(u=Object(n.tryAppendQueryString)(u,"px",1),u=Object(n.tryAppendQueryString)(u,"src","prebid")),null!==b&&(u=Object(n.tryAppendQueryString)(u,"gdpr",y),u=Object(n.tryAppendQueryString)(u,"cmp_cs",b)),i&&(u=Object(n.tryAppendQueryString)(u,"us_privacy",i)),[{type:o,url:u}]}}};function g(e){return!!e.mediaTypes.video&&(!!e.mediaTypes.video.context&&"instream"===e.mediaTypes.video.context.toLowerCase())}function v(e){var t=null;if("function"==typeof e.getFloor){var r=e.getFloor({currency:"USD",mediaType:g(e)?"video":"banner",size:"*"});"object"!==a(r)||"USD"!==r.currency||isNaN(parseFloat(r.floor))||(t=parseFloat(r.floor))}return null!==t?t:e.params.floor}function O(e,t){Object(n.isEmpty)(t)||Object.keys(t).forEach((function(r){null!=t[r]&&(e[r]=t[r])}))}function j(e,t,r,n){return e.map(function(e){return function(t){return t&&t.userId&&t.userId[e]}}(t)).filter(S(t)).map(function(e,t){return function(r){return{source:e,uids:[{id:r.id?r.id:r,ext:{rtiPartner:t}}]}}}(r,n))}var S=function(e){return function(t,r,i){var o=!!t&&(Object(n.isStr)(t)?!!t:Object(n.isPlainObject)(t)&&!Object(n.isArray)(t)&&!Object(n.isEmpty)(t)&&t.id&&Object(n.isStr)(t.id)&&!!t.id);return o||void 0===i[0]||Object(n.logWarn)("Triplelift: invalid ".concat(e," userId format")),o}};function h(e){return e.filter(A).map((function(e){return{w:e[0],h:e[1]}}))}function A(e){return 2===e.length&&"number"==typeof e[0]&&"number"==typeof e[1]}Object(o.registerBidder)(m),window.tmzr.installedModules.push("tripleliftBidAdapter")}},[918]);
tmzrChunk([13],{15:function(e,t,n){"use strict";t.b=function(e){var t=[];for(var n in e)if(e.hasOwnProperty(n))if("pubProvidedId"===n)t=t.concat(e.pubProvidedId);else{var o=a(e[n],n);o&&t.push(o)}return t},t.a=function(e){var t=[];return e.filter((function(e){return Object(o.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length})).forEach((function(e){Object.keys(e.idObj).forEach((function(n){Object(o.deepAccess)(e,"config.bidders")&&Array.isArray(e.config.bidders)&&Object(o.deepAccess)(r,n+".source")&&t.push({source:r[n].source,bidders:e.config.bidders})}))})),t};var o=n(0),r={trustpid:{source:"trustpid.com",atype:1,getValue:function(e){return e}},intentIqId:{source:"intentiq.com",atype:1},naveggId:{source:"navegg.com",atype:1},justId:{source:"justtag.com",atype:1},pubcid:{source:"pubcid.org",atype:1},tdid:{source:"adserver.org",atype:1,getUidExt:function(){return{rtiPartner:"TDID"}}},id5id:{getValue:function(e){return e.uid},source:"id5-sync.com",atype:1,getUidExt:function(e){if(e.ext)return e.ext}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var t=Object(o.pick)(e,["ibaOptout","ccpaOptout"]);if(Object.keys(t).length)return t}},idl_env:{source:"liveramp.com",atype:3},lipb:{getValue:function(e){return e.lipbid},source:"liveintent.com",atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},britepoolid:{source:"britepool.com",atype:3},dmdId:{source:"hcn.health",atype:3},lotamePanoramaId:{source:"crwdcntrl.net",atype:1},criteoId:{source:"criteo.com",atype:1},merkleId:{source:"merkleinc.com",atype:3,getValue:function(e){return e.id},getUidExt:function(e){return e&&e.keyID?{keyID:e.keyID}:void 0}},netId:{source:"netid.de",atype:1},IDP:{source:"zeotap.com",atype:1},hadronId:{source:"audigent.com",atype:1},haloId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},nextrollId:{source:"nextroll.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(e){return e.snowflake},source:"novatiq.com",atype:1},uid2:{source:"uidapi.com",atype:3,getValue:function(e){return e.id}},dapId:{source:"akamai.com",atype:1},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3},adtelligentId:{source:"adtelligent.com",atype:3},amxId:{source:"amxrtb.com",atype:1},publinkId:{source:"epsilon.com",atype:3},kpuid:{source:"kpuid.com",atype:3},imuid:{source:"intimatemerger.com",atype:1},connectId:{source:"yahoo.com",atype:3},qid:{source:"adquery.io",atype:1}};function a(e,t){var n=r[t];if(n&&e){var a={};a.source=n.source;var i=Object(o.isFn)(n.getValue)?n.getValue(e):e;if(Object(o.isStr)(i)){var c={id:i,atype:n.atype};if(Object(o.isFn)(n.getUidExt)){var u=n.getUidExt(e);u&&(c.ext=u)}if(a.uids=[c],Object(o.isFn)(n.getEidExt)){var s=n.getEidExt(e);s&&(a.ext=s)}return a}}return null}},944:function(e,t,n){e.exports=n(945)},945:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"PBJS_USER_ID_OPTOUT_NAME",(function(){return C})),n.d(t,"coreStorage",(function(){return P})),n.d(t,"syncDelay",(function(){return I})),n.d(t,"auctionDelay",(function(){return k})),t.setSubmoduleRegistry=function(e){L=e},t.setStoredValue=N,t.setStoredConsentData=R,t.findRootDomain=J,t.requestBidsHook=K,n.d(t,"validateGdprEnforcement",(function(){return Z})),t.attachIdSystem=oe,t.init=re;var o=n(11),r=n.n(o),a=n(3),i=n(10),c=n.n(i),u=n(14),s=n(9),d=n(5),l=n.n(d),f=n(8),g=n(15),b=n(7),p=n(0),m=n(12),y=n.n(m);function O(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,r=function(){};return{s:r,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){c=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(c)throw a}}}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var j,h,I,k,w,D="User ID",S="cookie",E="html5",x="_pbjs_userid_consent_data",A=30,C="_pbjs_id_optout",P=Object(b.a)("userid"),U=[],_=!1,V=[],T=[],L=[];function N(e,t){var n=e.config.storage,o="function"==typeof e.submodule.domainOverride?e.submodule.domainOverride():null;try{var r=Object(p.isPlainObject)(t)?JSON.stringify(t):t,a=new Date(Date.now()+864e5*n.expires).toUTCString();n.type===S?(P.setCookie(n.name,r,a,"Lax",o),"number"==typeof n.refreshInSeconds&&P.setCookie("".concat(n.name,"_last"),(new Date).toUTCString(),a,"Lax",o)):n.type===E&&(P.setDataInLocalStorage("".concat(n.name,"_exp"),a),P.setDataInLocalStorage(n.name,encodeURIComponent(r)),"number"==typeof n.refreshInSeconds&&P.setDataInLocalStorage("".concat(n.name,"_last"),(new Date).toUTCString()))}catch(e){Object(p.logError)(e)}}function q(e){var t=Object(p.getPrebidInternal)().setEidPermissions;"function"==typeof t&&Object(p.isArray)(e)&&t(Object(g.a)(e))}function F(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,o=n?"".concat(e.name,"_").concat(n):e.name;try{if(e.type===S)t=P.getCookie(o);else if(e.type===E){var r=P.getDataFromLocalStorage("".concat(e.name,"_exp"));""===r?t=P.getDataFromLocalStorage(o):r&&new Date(r).getTime()-Date.now()>0&&(t=decodeURIComponent(P.getDataFromLocalStorage(o)))}"string"==typeof t&&"{"===t.trim().charAt(0)&&(t=JSON.parse(t))}catch(e){Object(p.logError)(e)}return t}function M(e){var t={consentString:"",gdprApplies:!1,apiVersion:0};return e&&(t.consentString=e.consentString,t.gdprApplies=e.gdprApplies,t.apiVersion=e.apiVersion),Object(p.cyrb53Hash)(JSON.stringify(t))}function R(e){try{var t=new Date(Date.now()+864e5*A).toUTCString();P.setCookie(x,M(e),t,"Lax")}catch(e){Object(p.logError)(e)}}function z(){try{return P.getCookie(x)}catch(e){Object(p.logError)(e)}}function G(e){if(e&&"boolean"==typeof e.gdprApplies&&e.gdprApplies){if(!e.consentString)return!1;if(1===e.apiVersion&&!1===Object(p.deepAccess)(e,"vendorData.purposeConsents.1"))return!1;if(2===e.apiVersion&&!1===Object(p.deepAccess)(e,"vendorData.purpose.consents.1"))return!1}return!0}function J(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.hostname;if(!P.cookiesAreEnabled())return e;var t,n,o=e.split(".");if(2==o.length)return e;var r=-2,a="_rdc".concat(Date.now()),i="writeable";do{t=o.slice(r).join(".");var c=new Date(Object(p.timestamp)()+1e4).toUTCString();P.setCookie(a,i,c,"Lax",t,void 0);var u=P.getCookie(a,void 0);u===i?(n=!1,P.setCookie(a,"","Thu, 01 Jan 1970 00:00:01 GMT",void 0,t,void 0)):(r+=-1,n=Math.abs(r)<=o.length)}while(n);return t}function H(e,t){var n=function(){};t&&(n=Object(p.delayExecution)((function(){clearTimeout(h),t()}),e.length)),e.forEach((function(e){e.callback((function(t){t?(e.config.storage&&N(e,t),e.idObj=e.submodule.decode(t,e.config)):Object(p.logInfo)("".concat(D,": ").concat(e.submodule.name," - request id responded with an empty value")),n()})),e.callback=void 0}))}function W(e){return Array.isArray(e)&&e.length?e.filter((function(e){return Object(p.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length})).reduce((function(e,t){return Object.keys(t.idObj).forEach((function(n){e[n]=t.idObj[n]})),e}),{}):{}}function B(e,t){[e].some((function(e){return!Array.isArray(e)||!e.length}))||e.forEach((function(e){e.bids&&Object(p.isArray)(e.bids)&&e.bids.forEach((function(e){var n=function(e,t){return Array.isArray(e)&&e.length&&t?e.filter((function(e){return!e.config.bidders||!Object(p.isArray)(e.config.bidders)||y()(e.config.bidders,t)})).filter((function(e){return Object(p.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length})).reduce((function(e,t){return Object.keys(t.idObj).forEach((function(n){e[n]=t.idObj[n]})),e}),{}):{}}(t,e.bidder);Object.keys(n).length&&(e.userId=n,e.userIdAsEids=Object(g.b)(n))}))}))}function $(e){var t=!1;if(void 0===j&&(j=function(e,t){var n=Z(e,t),o=n.userIdModules;if(!n.hasValidated&&!G(t))return Object(p.logWarn)("".concat(D," - gdpr permission not valid for local storage or cookies, exit module")),[];var r=z();return R(t),o.reduce((function(e,n){return ee(n,t,r,!1),e.push(n),e}),[])}(V,s.gdprDataHandler.getConsentData())).length){q(j);var n=j.filter((function(e){return Object(p.isFn)(e.callback)}));if(n.length)if(e&&k>0){t=!0;var o=!1,r=function(){o||(o=!0,e())};Object(p.logInfo)("".concat(D," - auction delayed by ").concat(k," at most to fetch ids")),h=setTimeout(r,k),H(n,r)}else c.a.on(l.a.EVENTS.AUCTION_END,(function e(){c.a.off(l.a.EVENTS.AUCTION_END,e),I>0?setTimeout((function(){H(n)}),I):H(n)}))}e&&!t&&e()}function K(e,t){$((function(){B(t.adUnits||Object(u.a)().adUnits,j);var n=w&&(X()||[]).find((function(e){return e.source===w}));if(n&&"string"==typeof Object(p.deepAccess)(n,"uids.0.id")){var o=n.uids[0].id.replace(/[\W_]/g,"");o.length>=32&&o.length<=150?Object(p.isGptPubadsDefined)()?window.googletag.pubads().setPublisherProvidedId(o):(window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push((function(){window.googletag.pubads().setPublisherProvidedId(o)}))):Object(p.logWarn)("User ID - Googletag Publisher Provided ID for ".concat(w," is not between 32 and 150 characters - ").concat(o))}e.call(this,t)}))}function Q(){return $(),W(j)}function X(){return $(),Object(g.b)(W(j))}function Y(e,t){var n=e?e.submoduleNames:null;n||(n=[]),$((function(){var e=s.gdprDataHandler.getConsentData(),o=Z(V,e),r=o.userIdModules;if(o.hasValidated||G(e)){var a=z();R(e);var i,c=[],u=O(r);try{for(u.s();!(i=u.n()).done;){var d=i.value;n.length>0&&-1===n.indexOf(d.submodule.name)||(Object(p.logInfo)("".concat(D," - refreshing ").concat(d.submodule.name)),ee(d,e,a,!0),te(d),j.length&&q(j),Object(p.isFn)(d.callback)&&c.push(d))}}catch(e){u.e(e)}finally{u.f()}c.length>0&&H(c),t&&t()}else Object(p.logWarn)("".concat(D," - gdpr permission not valid for local storage or cookies, exit module"))}))}var Z=Object(f.b)("sync",(function(e,t){return{userIdModules:e,hasValidated:t&&t.hasValidated}}),"validateGdprEnforcement");function ee(e,t,n,o){if(e.config.storage){var r,a=F(e.config.storage),i=!1;if("number"==typeof e.config.storage.refreshInSeconds){var c=new Date(F(e.config.storage,"last"));i=c&&Date.now()-c.getTime()>1e3*e.config.storage.refreshInSeconds}!a||i||o||!function(e,t){return null!=e&&e===M(t)}(n,t)?r=e.submodule.getId(e.config,t,a):"function"==typeof e.submodule.extendId&&(r=e.submodule.extendId(e.config,t,a)),Object(p.isPlainObject)(r)&&(r.id&&(N(e,r.id),a=r.id),"function"==typeof r.callback&&(e.callback=r.callback)),a&&(e.idObj=e.submodule.decode(a,e.config))}else if(e.config.value)e.idObj=e.config.value;else{var u=e.submodule.getId(e.config,t,void 0);Object(p.isPlainObject)(u)&&("function"==typeof u.callback&&(e.callback=u.callback),u.id&&(e.idObj=e.submodule.decode(u.id,e.config)))}}function te(e){for(var t=!1,n=0;n<j.length;n++)if(e.config.name.toLowerCase()===j[n].config.name.toLowerCase()){t=!0,j[n]=e;break}t||j.push(e)}function ne(){var e=function(e,t,n){return Array.isArray(e)?e.reduce((function(e,t){return!t||Object(p.isEmptyStr)(t.name)||(!t.storage||Object(p.isEmptyStr)(t.storage.type)||Object(p.isEmptyStr)(t.storage.name)||-1===n.indexOf(t.storage.type)?Object(p.isPlainObject)(t.value)?e.push(t):t.storage||t.value||e.push(t):e.push(t)),e}),[]):[]}(T,0,U);if(e.length){var t=L.filter((function(e){return!r()(V,(function(t){return t.name===e.name}))}));V=t.map((function(t){var n=r()(e,(function(e){return e.name&&(e.name.toLowerCase()===t.name.toLowerCase()||t.aliasName&&e.name.toLowerCase()===t.aliasName.toLowerCase())}));return n&&t.name!==n.name&&(n.name=t.name),t.findRootDomain=J,n?{submodule:t,config:n,callback:void 0,idObj:void 0}:null})).filter((function(e){return null!==e})),!_&&V.length&&(Object(u.a)().requestBids.before(K,40),Object(p.logInfo)("".concat(D," - usersync config updated for ").concat(V.length," submodules: "),V.map((function(e){return e.submodule.name}))),_=!0)}}function oe(e){r()(L,(function(t){return t.name===e.name}))||(L.push(e),ne())}function re(e){w=void 0,V=[],T=[],_=!1,j=void 0,-1!==(U=[P.localStorageIsEnabled()?E:null,P.cookiesAreEnabled()?S:null].filter((function(e){return null!==e}))).indexOf(S)&&P.getCookie(C)?Object(p.logInfo)("".concat(D," - opt-out cookie found, exit module")):-1!==U.indexOf(E)&&P.getDataFromLocalStorage(C)?Object(p.logInfo)("".concat(D," - opt-out localStorage found, exit module")):(e.getConfig("userSync",(function(e){var t=e.userSync;w=t.ppid,t&&t.userIds&&(T=t.userIds,I=Object(p.isNumber)(t.syncDelay)?t.syncDelay:500,k=Object(p.isNumber)(t.auctionDelay)?t.auctionDelay:0,ne())})),Object(u.a)().getUserIds=Q,Object(u.a)().getUserIdsAsEids=X,Object(u.a)().refreshUserIds=Y)}re(a.b),Object(f.c)("userId",oe),window.tmzr.installedModules.push("userId")}},[944]);
tmzrChunk([96],{965:function(e,r,t){e.exports=t(966)},966:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),t.d(r,"spec",(function(){return y}));var a=t(0),d=t(1),i=t(2),o=t(3),n=t(13),s=t(19);function p(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var a,d,i=[],o=!0,n=!1;try{for(t=t.call(e);!(o=(a=t.next()).done)&&(i.push(a.value),!r||i.length!==r);o=!0);}catch(e){n=!0,d=e}finally{try{o||null==t.return||t.return()}finally{if(n)throw d}}return i}(e,r)||function(e,r){if(!e)return;if("string"==typeof e)return m(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return m(e,r)}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,a=new Array(r);t<r;t++)a[t]=e[t];return a}var c="vidoomy",l=["https://x.bidswitch.net/sync?ssp=vidoomy","https://ib.adnxs.com/getuid?https%3A%2F%2Fa-prebid.vidoomy.com%2Fsetuid%3Fbidder%3Dadnxs%26gdpr%3D{{GDPR}}%26gdpr_consent%3D{{GDPR_CONSENT}}%26uid%3D%24UID","https://pixel-sync.sitescout.com/dmp/pixelSync?nid=120&redir=https%3A%2F%2Fa.vidoomy.com%2Fapi%2Frtbserver%2Fcookie%3Fi%3DCEN%26uid%3D%7BuserId%7D","https://sync.1rx.io/usersync2/vidoomy?redir=https%3A%2F%2Fa.vidoomy.com%2Fapi%2Frtbserver%2Fcookie%3Fi%3DUN%26uid%3D%5BRX_UUID%5D","https://rtb.openx.net/sync/prebid?gdpr={{GDPR}}&gdpr_consent={{GDPR_CONSENT}}&r=https%3A%2F%2Fa-prebid.vidoomy.com%2Fsetuid%3Fbidder%3Dopenx%26uid%3D$%7BUID%7D","https://ads.pubmatic.com/AdServer/js/user_sync.html?gdpr={{GDPR}}&gdpr_consent={{GDPR_CONSENT}}&us_privacy=&predirect=https%3A%2F%2Fa-prebid.vidoomy.com%2Fsetuid%3Fbidder%3Dpubmatic%26gdpr%3D{{GDPR}}%26gdpr_consent%3D{{GDPR_CONSENT}}%26uid%3D","https://cm.adform.net/cookie?redirect_url=https%3A%2F%2Fa-prebid.vidoomy.com%2Fsetuid%3Fbidder%3Dadf%26gdpr%3D{{GDPR}}%26gdpr_consent%3D{{GDPR_CONSENT}}%26uid%3D%24UID","https://ups.analytics.yahoo.com/ups/58531/occ?gdpr={{GDPR}}&gdpr_consent={{GDPR_CONSENT}}","https://ap.lijit.com/pixel?redir=https%3A%2F%2Fa-prebid.vidoomy.com%2Fsetuid%3Fbidder%3Dsovrn%26gdpr%3D{{GDPR}}%26gdpr_consent%3D{{GDPR_CONSENT}}%26uid%3D%24UID"],u=function(e){e.ad=e.vastUrl;window.outstreamPlayer(e,e.adUnitCode,{vastTimeout:5e3,maxAllowedVastTagRedirects:3,allowVpaid:!0,autoPlay:!0,preload:!0,mute:!0})};var y={code:c,supportedMediaTypes:[i.b,i.d],isBidRequestValid:function(e){return e.params?+e.params.pid?+e.params.id?e.params&&e.params.mediaTypes&&e.params.mediaTypes.video&&e.params.mediaTypes.video.context===s.a&&!e.params.mediaTypes.video.playerSize?(Object(a.logError)("vidoomy: bid.params.mediaType.video should have a playerSize property to tell player size when is INSTREAM"),!1):!e.params.bidfloor||!(isNaN(e.params.bidfloor)||e.params.bidfloor<0)||(Object(a.logError)("vidoomy: bid.params.bidfloor should be a number equal or greater than zero"),!1):(Object(a.logError)("vidoomy: bid.params.id should be non-empty Number"),!1):(Object(a.logError)("vidoomy: bid.params.pid should be non-empty Number"),!1):(Object(a.logError)("vidoomy: bid.params should be non-empty"),!1)},buildRequests:function(e,r){return e.map((function(e){var t,d=i.b;e.mediaTypes&&e.mediaTypes[i.b]&&e.mediaTypes[i.b].sizes?(t=e.mediaTypes[i.b].sizes,d=i.b):e.mediaTypes&&e.mediaTypes[i.d]&&e.mediaTypes[i.d].playerSize&&(t=e.mediaTypes[i.d].playerSize,d=i.d);var n=p((Object(a.parseSizesInput)(t)[0]||"0x0").split("x"),2),s=n[0],m=n[1],c=document.createElement("a");c.href=r.refererInfo&&r.refererInfo.referer||top.location.href;var l=c.hostname,u=Object(a.deepAccess)(e,"mediaTypes.video.context"),y=Object(a.deepAccess)(e,"params.bidfloor",0),b={id:e.params.id,adtype:d,auc:e.adUnitCode,w:s,h:m,pos:parseInt(e.params.position)||1,ua:navigator.userAgent,l:navigator.language&&-1!==navigator.language.indexOf("-")?navigator.language.split("-")[0]:"",dt:/Mobi/.test(navigator.userAgent)?2:1,pid:e.params.pid,requestId:e.bidId,schain:e.schain||"",bidfloor:y,d:v(l),sp:encodeURIComponent(c.href),usp:r.uspConsent||"",coppa:!!o.b.getConfig("coppa"),videoContext:u||""};return r.gdprConsent&&(b.gdpr=r.gdprConsent.gdprApplies,b.gdprcs=r.gdprConsent.consentString),{method:"GET",url:"https://d.vidoomy.com/api/rtbserver/prebid/",data:b}}))},interpretResponse:function(e,r){try{var t=e.body;if(!t)return;if("video"===t.mediaType)if(t.ad=t.vastUrl||t.vastXml,r.data.videoContext===s.b)try{var d=n.a.install({id:r.bidId,adunitcode:r.tagId,loaded:!1,config:t.mediaType,url:t.meta.rendererUrl});d.setRender(u),t.renderer=d}catch(e){t.ad=t.vastUrl||t.vastXml,Object(a.logError)("vidoomy: error while installing renderer to show outstream ad")}var o={ad:t.ad,renderer:t.renderer,mediaType:t.mediaType,requestId:t.requestId,cpm:t.cpm,currency:t.currency,width:t.width,height:t.height,creativeId:t.creativeId,netRevenue:t.netRevenue,ttl:t.ttl,meta:{mediaType:t.meta.mediaType,rendererUrl:t.meta.rendererUrl,advertiserDomains:t.meta.advertiserDomains,advertiserId:t.meta.advertiserId,advertiserName:t.meta.advertiserName,agencyId:t.meta.agencyId,agencyName:t.meta.agencyName,brandId:t.meta.brandId,brandName:t.meta.brandName,dchain:t.meta.dchain,networkId:t.meta.networkId,networkName:t.meta.networkName,primaryCatId:t.meta.primaryCatId,secondaryCatIds:t.meta.secondaryCatIds}};t.vastUrl?o.vastUrl=t.vastUrl:t.vastXml&&(o.vastXml=t.vastXml);var p=[];return!function(e){if(!(e&&e.requestId&&e.cpm&&e.ttl&&e.currency))return!1;switch(e.mediaType){case i.b:return Boolean(e.width&&e.height&&e.ad);case i.d:return Boolean(e.vastUrl||e.vastXml);default:return!1}}(o)?Object(a.logError)("vidoomy: server returns invalid response"):p.push(o),p}catch(e){return Object(a.logError)("vidoomy: error parsing server response to Prebid format"),[]}},gvlid:380,getUserSyncs:function(e,r,t,d){if(e.iframeEnabled||e.pixelEnabled){var i=e.pixelEnabled?"image":"iframe",o=Object(a.deepAccess)(r,"0.body.pixels")||l;return[].concat(o).map((function(e){return{type:i,url:e.replace("{{GDPR}}",t&&t.gdprApplies?"1":"0").replace("{{GDPR_CONSENT}}",t?encodeURIComponent(t.consentString):"").replace("{{USP_CONSENT}}",d?encodeURIComponent(d):"")}}))}}};function v(e){for(var r=e.split("."),t=[],a=r.length-1;a>=0&&(t.push(r[a]),!(1!==t.length&&r[a].length>3));a--);return t.reverse().join(".")}Object(d.registerBidder)(y),window.tmzr.installedModules.push("vidoomyBidAdapter")}},[965]);
tmzrChunk([82],{993:function(e,t,r){e.exports=r(994)},994:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r.d(t,"spec",(function(){return C}));var i=r(1),a=r(2),s=r(0),d=r(3),n=r(13);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var p="6.13.0",b="USD",m=["admixer.net","adserver.org","adtelligent.com","akamai.com","amxrtb.com","audigent.com","britepool.com","criteo.com","crwdcntrl.net","deepintent.com","hcn.health","id5-sync.com","idx.lat","intentiq.com","intimatemerger.com","liveintent.com","liveramp.com","mediawallahscript.com","merkleinc.com","netid.de","neustar.biz","nextroll.com","novatiq.com","parrable.com","pubcid.org","quantcast.com","quantcast.com","tapad.com","uidapi.com","verizonmedia.com","yahoo.com","zeotap.com"];function u(e){return{w:parseInt(e[0]),h:parseInt(e[1])}}function v(e){return Object(s.isArray)(e)&&2===e.length&&!Object(s.isArray)(e[0])?[u(e)]:e.map(u)}function l(e){return Object(s.isArray)(Object(s.deepAccess)(e,"userIdAsEids"))?e.userIdAsEids.filter((function(e){return-1!==m.indexOf(e.source)})):[]}function O(e){return Object(s.deepAccess)(e,"params.bidOverride.imp.secure")||"https:"===document.location.protocol?1:0}function y(e){var t;return Object(s.deepAccess)(e,"params.pubId")?t=!0:Object(s.deepAccess)(e,"params.dcn")&&Object(s.deepAccess)(e,"params.pos")&&(t=!1),t}function j(){var e=d.b.getConfig("yahoossp.mode");return void 0===(e=e?e.toLowerCase():void 0)||e===a.b?a.b:e===a.d?a.d:"all"===e?"*":void 0}function f(e){var t=j(),r={currency:Object(s.deepAccess)(e,"params.bidOverride.cur")||b,mediaType:t,size:"*"};return!!Object(s.isFn)(e.getFloor)&&e.getFloor(r)}function g(e,t,r,i){var a=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},i);for(var d in r)switch(e){case"string":-1!==t.indexOf(d)&&Object(s.isStr)(r[d])&&(a[d]=r[d]);break;case"number":-1!==t.indexOf(d)&&Object(s.isNumber)(r[d])&&(a[d]=r[d]);break;case"array":-1!==t.indexOf(d)&&Object(s.isArray)(r[d])&&(a[d]=r[d]);break;case"object":-1!==t.indexOf(d)&&Object(s.isPlainObject)(r[d])&&(a[d]=r[d]);break;case"objectAllKeys":Object(s.isPlainObject)(r)&&(a[d]=r[d])}return a}function h(e){var t=d.b.getConfig("yahoossp.ttl");return A(t||Object(s.deepAccess)(e,"params.ttl"))}function A(e){return Object(s.isNumber)(e)&&e>0&&e<3600?e:300}function x(e){return Object(s.isStr)(e)&&e.length>0}function T(e,t){if(e){var r={id:Object(s.generateUUID)(),cur:[f(e).currency||Object(s.deepAccess)(t,"params.bidOverride.cur")||b],imp:[],site:{page:Object(s.deepAccess)(e,"refererInfo.referer")},device:{dnt:0,ua:navigator.userAgent,ip:Object(s.deepAccess)(t,"params.bidOverride.device.ip")||Object(s.deepAccess)(t,"params.ext.ip")||void 0},regs:{ext:{us_privacy:e.uspConsent?e.uspConsent:"",gdpr:e.gdprConsent&&e.gdprConsent.gdprApplies?1:0}},source:{ext:{hb:1,adapterver:"1.0.2",prebidver:p,integration:{name:"prebid.js",ver:p}},fd:1},user:{ext:{consent:e.gdprConsent&&e.gdprConsent.gdprApplies?e.gdprConsent.consentString:"",eids:l(t)}}};return!0===y(t)?(r.site.publisher={id:t.params.pubId},(Object(s.deepAccess)(t,"params.bidOverride.site.id")||Object(s.deepAccess)(t,"params.siteId"))&&(r.site.id=Object(s.deepAccess)(t,"params.bidOverride.site.id")||t.params.siteId)):r.site.id=t.params.dcn,d.b.getConfig("ortb2")&&(r=function(e,t){var r=d.b.getConfig("ortb2"),i=Object(s.deepAccess)(r,"site")||void 0,a=Object(s.deepAccess)(i,"content")||void 0,n=Object(s.deepAccess)(i,"content.data")||void 0,c=Object(s.deepAccess)(r,"app.content")||void 0,o=Object(s.deepAccess)(r,"app.content.data")||void 0,p=Object(s.deepAccess)(r,"user")||void 0;if(i&&Object(s.isPlainObject)(i)){var b=["name","domain","page","ref","keywords","search"],m=["cat","sectioncat","pagecat"],u=["ext"];e.site=g("string",b,i,e.site),e.site=g("array",m,i,e.site),e.site=g("object",u,i,e.site)}if(a&&Object(s.isPlainObject)(a)){var v=["id","title","series","season","genre","contentrating","language"],l=["episode","prodq","context","livestream","len"],O=["cat"],y=["ext"];e.site.content=g("string",v,a,e.site.content),e.site.content=g("number",l,a,e.site.content),e.site.content=g("array",O,a,e.site.content),e.site.content=g("object",y,a,e.site.content),n&&Object(s.isArray)(n)&&n.every((function(t){var r={},i=["segment"],a=["ext"];r=g("string",["id","name"],t,r),r=g("array",i,t,r),r=g("object",a,t,r),e.site.content.data=[],e.site.content.data.push(r)}))}c&&Object(s.isPlainObject)(c)&&o&&Object(s.isArray)(o)&&o.every((function(t){var r={},i=["segment"],a=["ext"];r=g("string",["id","name"],t,r),r=g("array",i,t,r),r=g("object",a,t,r),e.app={content:{data:[]}},e.app.content.data.push(r)}));if(p&&Object(s.isPlainObject)(p)){var j=["id","buyeruid","gender","keywords","customdata"],f=["yob"],h=["data"],A=["ext"];e.user=g("string",j,p,e.user),e.user=g("number",f,p,e.user),e.user=g("array",h,p,e.user),e.user.ext=g("object",A,p,e.user.ext)}return e}(r)),Object(s.deepAccess)(t,"schain")&&(r.source.ext.schain=t.schain,r.source.ext.schain.nodes[0].rid=r.id),r}}function w(e,t){var r=j();if(t&&e){var i={id:e.bidId,secure:O(e),bidfloor:f(e).floor||Object(s.deepAccess)(e,"params.bidOverride.imp.bidfloor")};if(!e.mediaTypes.banner||void 0!==r&&r!==a.b&&"*"!==r||(i.banner={mimes:e.mediaTypes.banner.mimes||["text/html","text/javascript","application/javascript","image/jpg"],format:v(e.sizes)},e.mediaTypes.banner.pos&&(i.banner.pos=e.mediaTypes.banner.pos)),e.mediaTypes.video&&(r===a.d||"*"===r)){var d=v(e.mediaTypes.video.playerSize);i.video={mimes:Object(s.deepAccess)(e,"params.bidOverride.imp.video.mimes")||e.mediaTypes.video.mimes||["video/mp4","application/javascript"],w:Object(s.deepAccess)(e,"params.bidOverride.imp.video.w")||d[0].w,h:Object(s.deepAccess)(e,"params.bidOverride.imp.video.h")||d[0].h,maxbitrate:Object(s.deepAccess)(e,"params.bidOverride.imp.video.maxbitrate")||e.mediaTypes.video.maxbitrate||void 0,maxduration:Object(s.deepAccess)(e,"params.bidOverride.imp.video.maxduration")||e.mediaTypes.video.maxduration||void 0,minduration:Object(s.deepAccess)(e,"params.bidOverride.imp.video.minduration")||e.mediaTypes.video.minduration||void 0,api:Object(s.deepAccess)(e,"params.bidOverride.imp.video.api")||e.mediaTypes.video.api||[2],delivery:Object(s.deepAccess)(e,"params.bidOverride.imp.video.delivery")||e.mediaTypes.video.delivery||void 0,pos:Object(s.deepAccess)(e,"params.bidOverride.imp.video.pos")||e.mediaTypes.video.pos||void 0,playbackmethod:Object(s.deepAccess)(e,"params.bidOverride.imp.video.playbackmethod")||e.mediaTypes.video.playbackmethod||void 0,placement:Object(s.deepAccess)(e,"params.bidOverride.imp.video.placement")||e.mediaTypes.video.placement||void 0,linearity:Object(s.deepAccess)(e,"params.bidOverride.imp.video.linearity")||e.mediaTypes.video.linearity||1,protocols:Object(s.deepAccess)(e,"params.bidOverride.imp.video.protocols")||e.mediaTypes.video.protocols||[2,5],startdelay:Object(s.deepAccess)(e,"params.bidOverride.imp.video.startdelay")||e.mediaTypes.video.startdelay||0,rewarded:Object(s.deepAccess)(e,"params.bidOverride.imp.video.rewarded")||void 0}}if(i.ext={dfp_ad_unit_code:e.adUnitCode},Object(s.deepAccess)(e,"params.kvp")&&Object(s.isPlainObject)(e.params.kvp))for(var n in i.ext.kvs={},e.params.kvp)if(Object(s.isStr)(e.params.kvp[n])||Object(s.isNumber)(e.params.kvp[n]))i.ext.kvs[n]=e.params.kvp[n];else if(Object(s.isArray)(e.params.kvp[n])){var c=e.params.kvp[n];(c.every((function(e){return Object(s.isStr)(e)}))||c.every((function(e){return Object(s.isNumber)(e)})))&&(i.ext.kvs[n]=e.params.kvp[n])}Object(s.deepAccess)(e,"ortb2Imp.ext.data")&&Object(s.isPlainObject)(e.ortb2Imp.ext.data)&&(i.ext.data=e.ortb2Imp.ext.data),Object(s.deepAccess)(e,"ortb2Imp.instl")&&Object(s.isNumber)(e.ortb2Imp.instl)&&1===e.ortb2Imp.instl&&(i.instl=e.ortb2Imp.instl),!1===y(e)?(i.tagid=e.params.pos,i.ext.pos=e.params.pos):Object(s.deepAccess)(e,"params.placementId")&&(i.tagid=e.params.placementId),t.imp.push(i)}}function k(e){var t=e.payload,r=e.requestOptions,i=e.bidderRequest,n=y(i),c=d.b.getConfig("yahoossp.endpoint")||"https://c2shb.pubgw.yahoo.com/bidRequest";if(!0===n&&(c=d.b.getConfig("yahoossp.endpoint")||"https://c2shb.pubgw.yahoo.com/admax/bid/partners/PBJS"),!0===Object(s.deepAccess)(i,"params.testing.e2etest"))if(Object(s.logInfo)("yahoossp adapter e2etest mode is active"),r.withCredentials=!1,!0===n)t.site.id="1234567";else{var o=j();t.site.id="8a969516017a7a396ec539d97f540011",t.imp.forEach((function(e){e.ext.e2eTestMode=!0,o===a.b?e.tagid="8a969978017a7aaabab4ab0bc01a0009":o===a.d?e.tagid="8a96958a017a7a57ac375d50c0c700cc":(Object(s.logWarn)('yahoossp adapter e2etest mode does not support yahoossp.mode="all". \n Please specify either "banner" or "video"'),Object(s.logWarn)("yahoossp adapter e2etest mode: Please make sure your adUnit matches the yahoossp.mode video or banner"))}))}return Object(s.logWarn)("yahoossp adapter endpoint override enabled. Pointing requests to: ",c),{url:c,method:"POST",data:t,options:r,bidderRequest:i}}var C={code:"yahoossp",gvlid:25,aliases:[],supportedMediaTypes:[a.b,a.d],isBidRequestValid:function(e){var t=e.params;return!0===Object(s.deepAccess)(t,"testing.e2etest")||(!(!Object(s.isPlainObject)(t)||!(x(t.pubId)||x(t.dcn)&&x(t.pos)))||(Object(s.logWarn)("yahoossp bidder params missing or incorrect, please pass object with either: dcn & pos OR pubId"),!1))},buildRequests:function(e,t){if(!Object(s.isEmpty)(e)&&!Object(s.isEmpty)(t)){var r={contentType:"application/json",customHeaders:{"x-openrtb-version":"2.5"}};r.withCredentials=function(e){return!(e&&e.gdprConsent&&e.gdprConsent.gdprApplies&&2===e.gdprConsent.apiVersion)||!0===Object(s.deepAccess)(e.gdprConsent,"vendorData.purpose.consents.1")}(t);var i=function(e){var t=j(),r=[];return t===a.b?r=e.filter((function(e){return Object.keys(e.mediaTypes).some((function(e){return e===a.b}))})):t===a.d?r=e.filter((function(e){return Object.keys(e.mediaTypes).some((function(e){return e===a.d}))})):"*"===t&&(r=e.filter((function(e){return Object.keys(e.mediaTypes).some((function(e){return e===a.b||e===a.d}))}))),r}(e);if(!0===d.b.getConfig("yahoossp.singleRequestMode")){var n=T(t,i[0]);return i.forEach((function(e){w(e,n)})),k({payload:n,requestOptions:r,bidderRequest:t})}return i.map((function(e){var i=T(t,e);return w(e,i),k({payload:i,requestOptions:r,bidderRequest:e})}))}Object(s.logWarn)('yahoossp Adapter: buildRequests called with either empty "validBidRequests" or "bidderRequest"')},interpretResponse:function(e,t){t.data;var r=t.bidderRequest,i=[];return e.body&&Array.isArray(e.body.seatbid)?(e.body.seatbid.forEach((function(e){var t;try{t=e.bid[0]}catch(e){return i}var d=t.ext&&t.ext.encp?t.ext.encp:t.price,c={adId:Object(s.deepAccess)(t,"adId")?t.adId:t.impid||t.crid,adUnitCode:r.adUnitCode,requestId:t.impid,bidderCode:C.code,cpm:d,width:t.w,height:t.h,creativeId:t.crid||0,currency:t.cur||b,dealId:t.dealid?t.dealid:null,netRevenue:!0,ttl:h(r),meta:{advertiserDomains:t.adomain}},o=function(e){var t=e.adm;return-1!==t.indexOf("o2playerSettings")||-1!==t.indexOf("YAHOO.VideoPlatform.VideoPlayer")||-1!==t.indexOf("AdPlacement")?a.b:-1!==t.indexOf("VAST")?a.d:void 0}(t);o===a.b?(c.mediaType=a.b,c.ad=t.adm,c.meta.mediaType=a.b):o===a.d&&(c.mediaType=a.d,c.meta.mediaType=a.d,c.vastXml=t.adm,t.nurl&&(c.vastUrl=t.nurl)),"outstream"!==Object(s.deepAccess)(r,"mediaTypes.video.context")||r.renderer||(c.renderer=function(e,t){var r=n.a.install({url:"https://cdn.vidible.tv/prod/hb-outstream-renderer/renderer.js",loaded:!1,adUnitCode:e.adUnitCode});try{r.setRender((function(t){setTimeout((function(){o2PlayerRender(t)}),Object(s.deepAccess)(e,"params.testing.renderer.setTimeout")||700)}))}catch(e){Object(s.logWarn)("yahoossp renderer error: setRender() failed",e)}return r}(r)||void 0),i.push(c)})),i):i},getUserSyncs:function(e,t,r,i){var a=!Object(s.isEmpty)(t)&&t[0].body;return a&&a.ext&&a.ext.pixels?function(e,t){var r=/\w*(?=\s)/,i=/src=("|')(.*?)\1/,a=[];if(t){var s=t.match(/(img|iframe)[\s\S]*?src\s*=\s*("|')(.*?)\2/gi);s&&s.forEach((function(t){var s=t.match(r)[0],d=t.match(i)[2];if(s&&d){var n="img"===s.toLowerCase()?"image":"iframe";if(!e.iframeEnabled&&"iframe"===n||!e.pixelEnabled&&"image"===n)return;a.push({type:n,url:d})}}))}return a}(e,a.ext.pixels):[]}};Object(i.registerBidder)(C),window.tmzr.installedModules.push("yahoosspBidAdapter")}},[993]);
tmzr.processQueue();